I have some paragraphs, for example,
For inline formulas, enclose the formula in
$
…$
. For displayed formulas, use$$
…$$
.- These render differently. For example, type the following to show inline mode:
$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$
$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$ - or type the following for display mode:
$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$
$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$
- These render differently. For example, type the following to show inline mode:
For Greek letters, use
\alpha
,\beta
, …,\omega
: $\alpha$, $\beta$, …, $\omega$.- For uppercase letters, use
\Gamma
,\Delta
, …,\Omega
: $\Gamma$, $\Delta$, …, $\Omega$. - For other Greek capital letters, use Latin
$A,
,B
,E$
and so on: $A, B, E$. - Some Greek letters have variant forms:
\epsilon \varepsilon
$\epsilon$, $\varepsilon$,\phi \varphi
$\phi$, $\varphi$, and others.
- For uppercase letters, use
Is there a mathjax syntax to put above paragraphs inside a box? This is to separate (and thus highlight) a theorem statement in a thread.
Thank you so much!
$...$
or$$...$$
. $\endgroup$\text{}
command inside the math block$...$
. (I'm not sure if that will cause any serious accessibility issues, e.g. when viewing the site using a screen reader.) $\endgroup$$$\bbox[15px,border:2px solid black] {\textbf{Theorem. } \text{If $A$, then $B$ implies $C$.}}$$
. $\endgroup$