Inline LaTeX equations

It is straightforward to display a Latex equation on a single line with:

$$(some equation)$$

This will create a new line with a displayed equation. But how do I display a Latex equation within a sentence (without displaying the equation on a single line of its own). It is usually done with $(some equation)$ or \( (some equation ) \) or some variant of it, but this does not seem to work with Without a mechanism for displaying maths equations "inline", it is basically impossible to discuss any type of mathematics!


Huge thanks if there is a way to do this!

3 replies

This should work:

Your line containing $$\TeX$$ goes here.

And something on its own line:

f(x)=2x + y

If not, please send us a link to a page on your site containing the line above and we'll debug from there

Answered 3 months ago · Improve this answer

This is not working at:

the last line of the post.


Answered 3 months ago · Improve this answer

I just updated my previous answer with the syntax that works – please try with that one

Answered 3 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions