I generally take notes like this with LaTeX and compile them to PDF but PDFs can be large and if committing to a Git repo can lead to large .git directories. The BasicTeX package for Mac (brew install basictex) has worked well for me: http://www.tug.org/mactex/morepackages.html
These days I also take math notes as plain HTML files containing Markdown and LaTeX, then render with the TeXme one-liner here: https://github.com/susam/texme
I guess what the OP has done here is take all the notes in Word or some other WYSIWYG document editor not specialized for mathematical typography and converted the whole document to PDF. This won't lead to good results. It is absolutely necessary to use tools specialized for mathematical typography to write and publish math.
By the way, is there anyway to create high quality math distributables that are both self-contained and lightweight?
1. https://blogs.msdn.microsoft.com/murrays/2017/07/30/latex-ma...