Log in Sign up

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 blot.im... Without a mechanism for displaying maths equations "inline", it is basically impossible to discuss any type of mathematics!

Relevant: https://github.com/KaTeX/KaTeX/issues/1481

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 a year ago · Improve this answer

This is not working at: https://kitz.blot.im/katex-sans

the last line of the post.


Answered a year ago · Improve this answer

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

Answered a year ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 92 questions bug 48 questions posts 27 questions resolved 27 questions metadata 26 questions templates 24 questions how 14 questions tags 13 questions markdown 12 questions google-drive 10 questions More tags →
Subscribe for changes
RSS Feed of latest questions