Using MathJax in text

I have installed a Mathjax plugin on my local wordpress installation, and the plugin works fine. However, I can't get it to show Latex in-text; it creates an own line for every latex formula. I end up with pages like this (this is an extreme example to get my point across better :)):

How can I make it work to show Latex in-text? I've tried multiple plugins and they all seem to have this issue, with no option to resolve this.

Topic plugin-mathjax latex plugins Wordpress

Category Web


To create an inline formula in LaTeX we can use single dollar signs $:

This formula $x=y+z$ is inline.

To display math on its own line, we can use double dollar signs $$:

$$ a = b + c $$

Here is an example with Simple Mathjax installed:

Editor

This will be displayed like this:

View

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.