Just in case…
Just in case I will ever need to write a formula in my blog – I have just installed a MathJax-Plugin for WordPress. This way I can display nicely set formulas.
Of course I have to try this:
$$ E = m \cdot c^2 $$
And here is a formula that I copied directly from the Latex-source of my PhD thesis. (I admit I needed some time to find this old folder on my laptop…)
$$\begin{split} X_l[k] & = \sum_{n=0}^{M-1}{x[n+lL]\cdot e^{-j2\pi k n/N}},\\ & l=0,1,… \text{ and } k=0,1,…,N-1 \end{split}$$
Very neat. Yet, I had to fight a bit with the newlines, as the WordPress block editor wants to add a new block (well, actually an HTML paragraph) for every newline. This way, the code of the formula gets separated and cannot be interpreted. Of course you can enter the formula in just one line, but it is also possible to edit in the code view, which is accessible through the three dots in the upper right corner in the editor window.
Now I try an inline formula: $a^2+b^2=c^2$.
Yay!