# $$\LaTeX$$ Guide

$\huge \text{Start}$

This will show like this $$1 + 2 + 3 = 6$$

And this appears as

$1 + 2 + 3 = 6$

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

You can apply the codes inside of $$\backslash( \backslash)$$ or $$\backslash[\backslash]$$ as shown in the picture above.

Here are the codes.

2 \times 3 appears as $$2 \times 3$$

2 \cdot 3 appear as $$2 \cdot 3$$

2 \div 3 appear as $$2 \div 3$$

\left(\frac 12 + \frac12 \right) appear as $$\left(\frac 12 + \frac12 \right)$$

\left(\dfrac 12 + \dfrac12 \right) appear as $$\left(\dfrac 12 + \dfrac12 \right)$$

\frac12 appear as $$\frac12$$

\dfrac 12 appear as $$\dfrac 1 2$$

\frac{\frac {11}{22}}{\frac {11}{22}} appear as $$\frac{\frac {11}{22}}{\frac {11}{22}}$$

\dfrac{\dfrac {11}{22}}{\dfrac {11}{22}} appear as $$\dfrac{\dfrac {11}{22}}{\dfrac {11}{22}}$$

\cfrac{1}{1+\cfrac{2}{2+\cfrac{3}{2}}} appear as $$\cfrac{1}{1+\cfrac{2}{2+\cfrac{3}{2}}}$$

$$\text{\{1,2,3,4\}}$$ appear as $$\{1,2,3,4\}$$

2^2 appear as $$2^2$$

2^{2^{2^2}} appear as $$2^{2^{2^2}}$$

2_2 appear as $$2_2$$

2^{10} appear as $$2^{10}$$

\sqrt{5} appear as $$\sqrt{5}$$

\sqrt { \frac { 5 }{ 6 } } appear as $$\sqrt { \frac { 5 }{ 6 } }$$

\sqrt[5]{4} appear as $$\sqrt[5]{4}$$

\sqrt [3]{\frac93} appear as $$\sqrt [3] \frac 93$$

\Rightarrow appear as $$\Rightarrow$$.

\Leftarrow appear as $$\Leftarrow$$

\Leftrightarrow appear as $$\Leftrightarrow$$

\Uparrow appear as $$\Uparrow$$

\Downarrow appear as $$\Downarrow$$

\Updownarrow appear as $$\Updownarrow$$

\rightarrow appear as $$\rightarrow$$

\longrightarrow appear as $$\longrightarrow$$

\longleftarrow appear as $$\longleftarrow$$

\leftarrow appear as $$\leftarrow$$

\leftrightarrow appear as $$\leftrightarrow$$

\uparrow appear as $$\uparrow$$

\downarrow appear as $$\downarrow$$

\updownarrow appear as $$\updownarrow$$

\implies appear as $$\implies$$

\sum appear as $$\sum$$

\displaystyle \sum_{i = 4}^{50} will appear as $$\displaystyle \sum_{i = 4}^{50}$$

\sum_{i = 4}^{60} appears as $$\sum_{i = 4}^{60}$$

\vdots appear as $$\vdots$$

\ldots appear as $$\ldots$$

\ddots appear as $$\ddots$$

\pm appear as $$\pm$$

\mp appear as $$\mp$$

a \le b appear as $$a \le b$$

c \ge d appear as $$c \ge d$$

e \ne f appear as $$e \ne f$$

\equiv appear as $$\equiv$$

\mod{b} appear as $$\mod{b}$$

\approx appear as $$\approx$$

\cong appear as $$\cong$$

\boxed{0} appear as $$\boxed{0}$$

\infty appear as $$\infty$$

\propto appear as $$\propto$$

180^\circ appear as $$180^\circ$$

\pi appear as $$\pi$$

\Pi appear as $$\Pi$$

\amalg appear as $$\amalg$$

\triangle appear as $$\triangle$$

\bigtriangledown appear as $$\bigtriangledown$$

\triangleleft appear as $$\triangleleft$$

\triangleright appear as $$\triangleright$$

\square appear as $$\square$$

\bigstar appear as $$\bigstar$$

\bigcirc appear as $$\bigcirc$$

\angle AB appear as $$\angle AB$$

X \cong Y appear as $$X \cong Y$$

X \sim Y appear as $$X \sim Y$$

AB \parallel CD appear as $$AB \parallel CD$$

AB\perp CD appear as $$AB\perp CD$$

\sin appear as $$\sin$$

\cos appear as $$\cos$$

\tan appear as $$\tan$$

\sec appear as $$\sec$$

\csc appear as $$\csc$$

\cot appear as $$\cot$$

\log_{10} appear as $$\log_{10}$$

\ln appear as $$\ln$$

\int appear as $$\int$$

\int^1_0 appear as $$\int^1_0$$

\lim_{x \to y} appear as $$\lim_{x \to y}$$

\displaystyle \lim_{x \to y} appear as $$\displaystyle \lim_{x \to y}$$

\theta appear as $$\theta$$

\alpha appear as $$\alpha$$

\beta appear as $$\beta$$

\mu appear as $$\mu$$

\lambda appear as $$\lambda$$

\Delta appear as $$\Delta$$

\delta appear as $$\delta$$

\lfloor b + c \rfloor appear as $$\lfloor b + c \rfloor$$

\lceil c +d \rceil appear as $$\lceil c +d \rceil$$

\binom xy appear as $$\binom xy$$

\dbinom xy appear as $$\dbinom xy$$

10\% appears as $$10\%$$

\overbrace{abc} appears as $$\overbrace{abc}$$

\underbrace{abc} appears as $$\underbrace{abc}$$

\overline{abc} appears as $$\overline{abc}$$

\underline{abc} appear as $$\underline{abc}$$

\widetilde{abc} appear as $$\widetilde{abc}$$

\widehat{abc} appears as $$\widehat{abc}$$

\subset appear as $$\subset$$

\subseteq appear as $$\subseteq$$

\supset appear as $$\supset$$

\not\subset appear as $$\not\subset$$

\supseteq appears as $$\supseteq$$

\nsubseteq appear as $$\nsubseteq$$

\sqsubset appear as $$\sqsubset$$

\sqsupset appear as $$\sqsupset$$

\sqsubseteq appear as $$\sqsubseteq$$

\sqsupseteq appear as $$\sqsupseteq$$

\in appear as $$\in$$

\not \in appear as $$\not \in$$

\cap appear as $$\cap$$

\cup appear as $$\cup$$

\sqcap appear as $$\sqcap$$

\sqcup appear as $$\sqcup$$

\oplus appear as $$\oplus$$

\ominus appear as $$\ominus$$

\otimes appear as $$\otimes$$

\odot appear as $$\odot$$

\oslash appear as $$\oslash$$

\forall appear as $$\forall$$

\mathbb{Z} appear as $$\mathbb{Z}$$

\mathbb{N} appear as $$\mathbb{N}$$

\mathbb{R} appear as $$\mathbb{R}$$

\text{I like math} appear as $$\text{I like math}$$

\smile appear as $$\smile$$

\frown appear as $$\frown$$

To add colors, you can use \color{blue}, \color{red}, \color{green}, \color{violet} etc. For example: \color{blue} \text{Write something!} appear as $$\color{blue} \text{Write something!}$$

$\huge \text{End}$

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

Please comment below if this guide is helpful.

Note by Munem Sahariar
1 year ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

@Munem Sahariar $\text{Thanks for this guide,Really needed it}$

- 8 months, 3 weeks ago

There is another guide that was posted early. :)

- 8 months, 3 weeks ago

This guide is very helpful as I'm just learning to use LaTex, thank you.

I do have one question: is there a way to push lines slightly to the right (like the Tab feature in word processors) without pushing them all the way to the middle? For example, in the lines

$${(p-1)}^p \equiv -1 \pmod {p^2}$$

$$\equiv {p^2-1} \pmod {p^2}$$

$$\equiv {(p-1)(p+1)} \pmod {p^2}$$

I would really like to have the equivalence symbol in the second and third lines line up with the one in the first line. Is there a way to do that?

- 7 months, 2 weeks ago

@zico quintina Like this?

\begin{align} (p-1)^p & \equiv -1 \pmod {p^2} \\ & \equiv p^2 -1 \pmod {p^2} \\ & \equiv (p-1)(p+1) \pmod {p^2} \\ \end{align}

- 7 months, 2 weeks ago

Yes! Perfect, thank you very much!

- 7 months, 2 weeks ago

You could stylize LaTeX as $$\LaTeX$$

Staff - 1 year ago

Done!

- 1 year ago

Neat.

- 4 months, 3 weeks ago

Ikr

- 4 months, 3 weeks ago

This one is my favourite:

text

=

- 6 months, 3 weeks ago

How to get angle sign?

- 7 months, 2 weeks ago

jkk

- 4 months, 2 weeks ago

lkkl

- 4 months, 2 weeks ago

\angle

- 7 months, 2 weeks ago

Thanks

- 7 months, 2 weeks ago

- 7 months, 4 weeks ago

Do you mean hyperlink?

- 7 months, 4 weeks ago

yes

- 7 months, 4 weeks ago

Use $$\text{[Text](Link)}$$

For example: The text is ''Brilliant'' and the link is https://brilliant.org/

$$\text{[Brilliant](https://brilliant.org/)}$$ appear as Brilliant

- 7 months, 4 weeks ago

ok

- 7 months, 4 weeks ago

Check out mine too! Located above

- 6 months, 3 weeks ago

@Munem Sahariar how to get that box in which you have written synatx and effect???

- 8 months ago

@Saksham Jain Like this?

$$\text{> (1)}$$

$$\text{> (2)}$$

$$\text{> (3)}$$

Appear as

(1)

(2)

(3)

- 8 months ago

yes .thanks

- 8 months ago

Hi

- 8 months ago

hi

- 8 months ago

In those latex codes, there is a typo. \sqrt[5]{4} appears as $$\sqrt[5]{4}$$, not $$\sqrt[3]{4}$$.

- 8 months, 2 weeks ago

Fixed it. Thanks

- 8 months, 2 weeks ago

Is there a 'strikethrough' feature in LaTeX? I'm trying to show a a product of fractions with several factors in numerators and denominators cancelling each other out. So far all I've found is the \not feature, but this works very poorly; e.g. when I try \not{147}, I get $$\not{147}$$, with only the 1 crossed out.

I would like to be able to cross out entire numbers; ideally, I'd also like to show either the strikethrough or the number (preferably not both) in a variety of colors.

Do you know whether this can be done? Thanks!

- 1 month ago

\require{cancel} \cancel{147}

- 3 days, 23 hours ago

Maybe there is.... who knows

- 1 month ago

ok

- 4 months, 2 weeks ago

Thanks very much

- 7 months, 2 weeks ago

@Munem Sahariar How to write language codes in problems(programming language codes)??

- 8 months ago

You can do the following:

$$\text{}$$

$$\text{}$$

Anything written in the middle of these three single back-quotes will appear as

 1 Write anything! 

- 8 months ago

and how to add title like in which language code is written ??

- 8 months ago

appear as

 1 Write anything 

- 8 months ago

What about rising and falling factorials

- 8 months ago

- 8 months ago

Yes

- 8 months ago

And so?

- 8 months ago

How to add them in $$\LaTeX$$

- 8 months ago

• For a rising factorial: $$x^{\overline{n}}$$

• For a falling factorial: $$x^{\underline{n}}$$

- 8 months ago

Thanks

- 8 months ago

ok .thanks to you and your latex guide.

- 8 months ago

- 7 months, 2 weeks ago

@Munem Sahariar How to add rising and falling factorials ?

- 8 months, 2 weeks ago

@Munem Sahariar Help me in this code $\large \dfrac{\dfrac{1}{3}}{1-\dfrac{\dfrac{{5}{192}}{\dfrac{1}{3}}}$

- 8 months, 2 weeks ago

Do you mean this?

$\large \dfrac{\dfrac 13}{1 - \dfrac{\dfrac5{192}}{\dfrac13}}$

- 8 months, 2 weeks ago

How did you learn latex?

- 8 months, 2 weeks ago

In some various ways.

- 8 months, 2 weeks ago

Which various ways?

- 8 months, 2 weeks ago

Etc....

- 8 months, 2 weeks ago

I have published a solution in a complete.Do you have any idea to make it better?Here it is

- 8 months, 2 weeks ago

Yes

- 8 months, 2 weeks ago

How to get huge brackets?

- 8 months, 2 weeks ago

\huge \left(a + b \right ) appear as

$$\huge \left(\dfrac{a}{b}\right)$$

- 8 months, 2 weeks ago

I have tried it in this but it is still not appearing like i want it. Latex \huge\displaystyle \sum{k=1}^{\infty}({\frac{\displaystyle \sum{n=1}^{k}nk}{\displaystyle\prod_{n=1}^{k}nk}})\ $\huge\displaystyle \sum_{k=1}^{\infty}({\frac{\displaystyle \sum_{n=1}^{k}nk}{\displaystyle\prod_{n=1}^{k}nk}}) = \ x$

- 8 months, 2 weeks ago

Use \left( \right)

\large \displaystyle \sum{k=1}^{\infty} \left({\frac{\displaystyle \sum{n=1}^{k}nk}{\displaystyle\prod_{n=1}^{k}nk}} \right) = \ x

Appear as

$\large \displaystyle \sum_{k=1}^{\infty}\left({\frac{\displaystyle \sum_{n=1}^{k}nk}{\displaystyle\prod_{n=1}^{k}nk}}\right) = \ x$

- 8 months, 2 weeks ago

I want that nothing gets changed accept the brackets

- 8 months, 2 weeks ago

The comment has been fixed. Check it

- 8 months, 2 weeks ago

Thanks for this awesome latex code.

- 8 months, 2 weeks ago

However the equation coming format has changed

- 8 months, 2 weeks ago

How do you insert code into a problem or solution? (Edit): Code as in the coding environment: https://brilliant.org/codex/

- 8 months, 2 weeks ago

It was mentioned at top of the page.

''You can apply the codes inside of $$\backslash( \backslash)$$ and $$\backslash[\backslash]$$''

For example:

• $$\backslash( 2 \text{\times} 3 \backslash)$$ appear as $$2 \times 3$$

• $$\backslash[ 2 \text{\times} 3 \backslash]$$ appear as $2 \times 3$

- 8 months, 2 weeks ago

I meant the coding environment

- 8 months, 2 weeks ago

I think It is only possible for staffs.

But you can do the following:

$$\text{}$$

$$\text{}$$

Anything written in the middle of these three single back-quotes will appear as

 1 Write anything. 

- 8 months, 2 weeks ago

Ah, that's too bad. Thanks for the information!

- 8 months, 2 weeks ago

U could get screenshots for it

- 8 months, 2 weeks ago

@Munem Sahariar , Can you help me here ?

- 8 months, 2 weeks ago

Thanks. How can I help?

- 8 months, 2 weeks ago

sometimes the feature of seeing the latex code by hovering over the cursor goes away at my laptop..why does it happens like that and how to cure it.

- 8 months, 2 weeks ago

Sorry, I didn't understand the issue. Please clarify it or give screenshots.

Seeing LaTex feature works fine for me.

- 8 months, 2 weeks ago

well fine for now...i will send them if i have the issue again, btw thanks! $$\ddot\smile$$

- 8 months, 2 weeks ago

what r=the heck are yu on abouy

- 8 months, 4 weeks ago

w

- 8 months, 4 weeks ago