Your sites Log in Sign up Menu

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!


a year ago, 3 replies   Improve this question

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.

Thanks!

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