How do I draw a box around a formula in MathJax?
I've seen \boxed{} recommended for LaTeX in general, but MathJax doesn't support that operation. Is there an alternative that does the trick?
For inline formulas, enclose the formula in $ … $ . For displayed formulas, use $$ … $$ .
To insert in-line math use the $ symbol within a Markdown cell. For example, the text $this_{is}^{inline}$ will produce: t h i s i s i n l i n e .
\boxed{Answer} produces a box around your answer.
\boxed is in the AMSmath extension, so if you put "TeX/AMSmath.js" in the extensions array of your configuration, you will be able to use the \boxed{} macro. Alternatively, try \fbox{}.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With