Brainly \(\LaTeX\) Cheat Sheet

Fractions

\frac{x}{y}

\(\frac{x}{y}\)

Overlines

\overline{xyz}

\(\overline{xyz}\)

Hats

\hat{x}

\(\hat{x}\)

Wide hats

\widehat{x}

\(\widehat{xyz}\)

Roots

\sqrt{x}

\(\sqrt{xyz}\)


\sqrt[3]{x}

\(\sqrt[3]{xyz}\)

Exponents

x^{2}

\(x^{2}\)

Subscripts

x_{2}

\(x_{2}\)

Boxes

\boxed{xyz}

\(\boxed{xyz}\)

Text

\text{xyz}

\(\text{xyz}\)


You can also add math formatting back into a text command using $s.

\text{The formula is $\frac{x}{y}=z$.}

\(\text{The formula is $\frac{x}{y}=z$.}\)

Spaces

To display a space in \(\LaTeX\), just type a \ before the space.

Sizing

There are a few options for making your \(\LaTeX\) bigger or smaller, and they all usually expect another command to follow rather than something in curly braces. (For example, \huge\text{Hello!})

\tiny

\(\tiny\text{tiny}\)

\scriptsize

\(\scriptsize\text{scriptsize}\)

\small

\(\small\text{small}\)

\normalsize

\(\normalsize\text{normalsize}\)

\large

\(\large\text{large}\)

\Large

\(\Large\text{Large}\)

\LARGE

\(\LARGE\text{LARGE}\)

\huge

\(\huge\text{huge}\)

\Huge

\(\Huge\text{Huge}\)