Waste less time on Facebook — follow Brilliant.
×

\(\LaTeX\) Guide

Start

This will show like this \(1 + 2 + 3 = 6\)

Appears as

\[1 + 2 + 3 = 6\]

But it will only show in the middle of the page.

You have to apply the codes inside of the brackets and backslash as shown in the picture above.

Now,

Here are the codes.

  • For multiple sign

2 \times 3 appears as \(2 \times 3\)

x \cdot y appears as \(x \cdot y\)

  • For division sign

\div appear as \( \div\)

  • fraction

\frac{}{} The first {} is numerator and the second {} is the denominator. For example the numerator is 1 and denominator is 2

\frac{1}{2} appears as \(\frac{1}{2}\) ,

  • Bigger fraction

Use \dfrac{}{} to make the fraction looks bigger. Again the numerator is 1 and denominator is 2

\dfrac{1}{2} appears as \( \dfrac{1}{2}\)

  • For power

    2^2 appears as \(2^2\)

And 2_2 appears as \(2_2\)

  • For two digit power or more digits,

    2^{10} appears as \(2^{10}\)

  • Square root

    \sqrt{5} appears as \(\sqrt{5}\)

\sqrt[5]{4} appears as \(\sqrt[5]{4}\)

\sqrt { \frac { 5 }{ 6 } } appears as \( \sqrt { \frac { 5 }{ 6 } }\)

  • Right/left/up/down/updown arrow symbol

\Rightarrow appears as \( \Rightarrow\).

\Leftarrow appears as \(\Leftarrow\)

\Leftrightarrow appears as \(\Leftrightarrow\)

\Uparrow appears as \(\Uparrow\)

\Downarrow appears as \(\Downarrow\)

\Updownarrow appears as \(\Updownarrow\)

\rightarrow appears as \( \rightarrow\)

\leftarrow appears as \(\leftarrow\)

\leftrightarrow appears as \(\leftrightarrow \)

\uparrow appears as \(\uparrow\)

\downarrow appears as \(\downarrow\)

\updownarrow appears as \(\updownarrow\)

  • Implies symbol

    \implies appears as \( \implies\)

  • Sum

\sum appear as \( \sum\)

\displaystyle \sum_{i = 4}^1 will appear as \(\displaystyle \sum_{i = 4}^1\)

\sum_{i = 4}^1 appears as \(\sum_{i = 4}^1\)

  • Dots

10 + 20 + 30 + \ldots + 100 appears as \(10 + 20 + 30 + \ldots + 100\)

\vdots appears as \(\vdots\)

\ldots appears as \(\ldots\)

\ddots appears as \(\ddots\)

  • Plus minus

\pm appears as \( \pm\)

\mp appears as \(\mp\)

  • Inequalities

1 \leq 2 appears as \(1 \leq 2\)

1 \geq 2 appears as \(1 \geq 2\)

1 \neq 2 appears as \( 1 \neq 2\)

\equiv appears as \(\equiv\)

  • Boxed

\boxed{0} appears as \(\boxed{0}\)

  • Infinity

\infty appears as \(\infty\)

  • Degree

{180}^\circ appears as \({180}^\circ\)

  • Pi

\pi appears as \(\pi\)

  • Triangle

\triangle appears as \(\triangle\)

\bigtriangledown appears as \(\bigtriangledown\)

\triangleleft appears as \(\triangleleft\)

\triangleright appears as \(\triangleright\)

  • Angle

\angle AB appears as \( \angle AB\)

  • sin, tan, cos, log

\sin \theta appears as \(\sin \theta\)

\cos {180}^\circ appears as \(\cos{180}^\circ\)

\tan appears as \(\tan\)

\log_1 2^3 appears as \(\log_12^3\)

  • Percent

10\% appears as \(10\%\)

  • abc

\overbrace{abc} appears as \(\overbrace{abc}\)

\underbrace{abc} appears as \(\underbrace{abc}\)

\overline{abc} appears as \(\overline{abc}\)

\underline{abc} appears as \(\underline{abc}\)

\widetilde{abc} appears as \(\widetilde{abc}\)

\widehat{abc} appears as \(\widehat{abc}\)

  • Set

\subset appears as \(\subset\)

\subseteq appears as \(\subseteq\)

\supset appears as \(\supset\)

\supseteq appears as \(\supseteq\)

\sqsubset appears as \(\sqsubset\)

\sqsupset appears as \(\sqsupset\)

\sqsubseteq appears as \(\sqsubseteq\)

\sqsupseteq appears as \( \sqsupseteq\)

\cap appears as \(\cap\)

\cup appears as \(\cup\)

\sqcap appears as \(\sqcap\)

\sqcup appears as \(\sqcup\)

\oplus appears as \(\oplus\)

\ominus appears as \(\ominus\)

\otimes appears as \(\otimes\)

\odot appears as \(\odot\)

\oslash appears as \(\oslash\)

  • Smile/frown

\smile appears as \(\smile\)

\frown appears as \(\frown\)

  • Bonus(this is not a LaTex code)

Use # before of any sentence and it appears as

\(\LaTeX\) \(guide\)

End

You can toggle LaTex to see all the codes(Ignore LaTex:) and you can comment below to if you want more codes.

The picture is taken from here

Link 1, Link 2, Link3 ,Link4

Seeing actual LaTex

Please comment below if this guide is helpful.

Note by Munem Sahariar
1 month, 1 week ago

No vote yet
1 vote

Comments

Sort by:

Top Newest

You could stylize LaTeX as \(\LaTeX\) Agnishom Chattopadhyay · 1 month, 1 week ago

Log in to reply

@Agnishom Chattopadhyay Done! Munem Sahariar · 1 month, 1 week ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...