Skip to main content
5 votes
Accepted

Hay how do you do a box around an equation in $\LaTeX$?

$$\fbox{ Like this for text.}$$ \fbox{ Like this for text.} or $$\boxed{e^{j\pi} = -1}$$ \boxed{e^{j\pi} = -1} This sort-of works for colors: $$\color{red}{\boxed{\color{black}{e^{j\pi} = -1}}}$$ ...
Peter K.'s user avatar
  • 25.8k
3 votes
Accepted

How to correctly write units (second, Hertz) in formulae?

I tend to use \mathrm{} macro with a tiny space: \;\mathrm{Hz} Another possibility is to use simple ...
jojeck's user avatar
  • 11.1k
1 vote

Hay how do you do a box around an equation in $\LaTeX$?

In Mathjax you can do something like this (which I used in this post): \bbox[#f8f1ea, 0.6em, border: 0.15em solid #fd8105]{a^2+b^2=c^2} Looks like this: $$\bbox[#...
Matt L.'s user avatar
  • 90.3k

Only top scored, non community-wiki answers of a minimum length are eligible