Fig: Some formulas set with LaTex
Here I describe how I set mathematical formulas with the help of LaTex. Unfortunately, the installation and use of LaTex is complicated and not well described.
LaTex is considered probably the best typesetting system for mathematical formulas. However, it does does not work according to the WYSIWYG concept (What You See Is What You Get), but must be programmed . If this is to work reasonably smoothly, you need some tools that automate the workflow from hard-to-read program code to descriptive pdf file.
Unfortunately, this also means that you can't just download and install a package, but have to choose between several possible combinations.
Note: if the example images on this page are sometimes a bit blurry, it is because the formulas here are only pixel images, which are blurred by scaling. The generated pdf files are of course scalable without loss of quality!
I describe here a possible combination that I think is a good place to start.