Create Box around LaTex equation?

I am wondering if it is possible to draw a box around an equation in Obsidian. I am using the Latex format… but I have also seen the term MathJax thrown around. Not sure if I understand correctly, but MathJax renders Latex form equations correct?

Is it possible to draw a box around an equation written in Latex format?

2 Likes

Yes, Obsidian uses MathJax for LaTeX math rendering.

To draw a box around a LaTeX equation simply put it in argument of the \boxed command:

$$ \boxed{E = m c^2} $$

It will be rendered as

Screenshot 2022-02-21 at 12.46.52

A list of supported TeX/LaTeX commands can be found here:

http://docs.mathjax.org/en/latest/input/tex/macros/index.html

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.