# $\LaTeX{}$ Formatting Guide (Incomplete)

$\huge Latex \ Formatting \ Guide -$

$\LARGE Chapters -$

$\large 1. \ Introduction \ to \ Latex$

$\large 2. \ The \ Latex \ adds \ up$

$\large 3. \ Texts \ in \ Fashion$

$\large 4. \ Links, \ Pictures \ and \ all \ things \ fun!$

$\large 5. \ Learning \ about \ all \ words \ Big \ and \ Small$

$\large 6. \ Greek \ Class \ from \ Professor \ Percy \ :)$

$\large 7. \ Paragraphs \ Writing \ - \ Save \ your \ pen \ ink$

$\large 8. \ Coding \ with \ Latex$

$\large 9. \ Uncommon \ Errors \ (because \ only \ I \ make \ these \ mistakes)$

$\large 10. \ Live, \ Love, \ Laugh \ and \ Latex \ (The \ End)$

# Chapter 1 - Introduction to Latex

$\LaTeX{}$ is a formatting tool, that BRILLIANT users use to make their solutions look beautiful, more presentable and attractive. $\newline$ In this guide, we will be learning the basics of Brilliant Formatting by using math operators, text formatting and so much more. We have $9$ unique chapters after this, that each teach a unique aspect of $\LaTeX{}$. I never found a complete $\LaTeX{}$ guide on BRILLIANT that explained all aspects of $\LaTeX{}$, so I decided to learn $\LaTeX{}$ myself and make a guide that explained everything. This is the result of months of learning and hard work. Have fun!

# Chapter 2 - The Latex adds up

Look for the symbol of PI on your keyboard, or look for the radical symbol. Didn't find it? Do you really want to waste your time learning the Alt Codes, when $\LaTeX{}$ is all you need to type in these Math Symbols. This chapter contains $\LaTeX{}$ that makes even a boring math equation look beautiful.

Remember to wrap math in \ ( \ ) to ensure proper formatting. But if you want your text to be more centered, use \ [ \ ].

 Appears as Written As $2+3 = 5$ 2+3 = 5 $\pi$ \pi $\sqrt{1}$ \sqrt{1} $\sqrt[n]{x}$ \sqrt[n]{x} (this is the Nth root of x) $2 \times 3$ 2 \times 3 $2^{100}$ 2^{100} $a_{i}$ a_{i} $\frac{2}{3}$ \frac{2}{3} $\sum_{i=1}^3$ \sum_{i=1}^3 $\sin \theta$ \sin \theta $\cos \theta$ \cos \theta $\tan \theta$ \tan \theta $\int_{x}^{y}$ \int_{x}^{y} $\oint_{x}^{y}$ \oint_{x}^{y} $\prod_{i=a}^{b}$ \prod_{i=a}^{b} $\lim_{x\to\infty}$ \lim_{x\to\infty} $\infty$ \infty $4 \div 2$ 4 \div 2 $\frac{\frac{1}{2}}{3}$ frac{\frac{1}{2}}{3} $\boxed{123}$ \boxed{123} $\rightarrow$ \rightarrow $\leftarrow$ \leftarrow $\uparrow$ \uparrow $\downarrow$ \downarrow $\Rightarrow$ \Rightarrow $\Leftarrow$ \Leftarrow $\Uparrow$ \Uparrow $\Downarrow$ \Downarrow $\mod x$ \mod x $\pmod x$ \pmod x $a \bmod b$ a \bmod b $a \equiv b$ a \equiv b

$\underline{Centering}$ - $1+2+3 = 6$ (written like this - \ [ 1 + 2 + 3 = 6 \ ], without the spaces)

$\hspace{1cm}$

PS - If you are stupid enough to want to learn the Alt Codes - Click this stupid link

(Note : This chapter will get edited often as I am still learning about Math $\LaTeX{}$ Codes and not all Latex symbols will be noted here, only the important and common ones)

# All $\LaTeX{}$ Symbols Wiki Link

This contains every Latex symbol that exists, and how to type it :)

# Chapter 3 - Texts in Fashion

Who says that texts can't be stylish(tell me if you know someone who does...), texts can have different styles, so let's learn how to type stylish text using $\LaTeX{}$ in this chapter.

As a wise teen once said -

" There are 3 things that are Awesome - $\LaTeX{}$, more $\LaTeX{}$ and Stylish Texts in $\LaTeX{}$. "

$\hspace{1cm}$

 Appears as Written As $\text{Hi Peeps!}$ \text{Hi Peeps!} $\textbf{Hi Peeps!}$ \textbf{Hi Peeps!} $\textit{Hi Peeps!}$ \textit{Hi Peeps!} $\textsf{Hi Peeps!}$ \textsf{Hi Peeps!} $\texttt{Hi Peeps!}$ \texttt{Hi Peeps!} Hi Peeps! * Hi Peeps! * $\color{#3D99F6} Hi \ Peeps$ \color{blue} Hi \ Peeps $\colorbox{#3D99F6}{Hi Peeps}$ \colorbox{blue}{Hi Peeps} $\colorbox{#3D99F6}{\color{#FFFFFF}Hi \ Peeps}$ \colorbox{blue}{\color{white}Hi \ Peeps} $\LaTeX{}$ \LaTeX{} $\cancel{Hi Peeps!}$ \cancel{Hi Peeps!}

# Chapter 4 - Links, Pictures and all things fun!

Links are important when you want to send people a to a website in a cool way! Pictures, GIF's and Video's are a good graphical representation for your solutions! Quotes are used to emphasize sentences or review rules, so let's learn how to do all things fun!

$\textit{This is a stylish link}$

For links, this is the basic syntax -

[ <DisplayText> ] ( <Link> ) (Without the spaces of course.....)

Display Text is the text you want others to see, so I wrote - 'This is a link' in the first link.

To make a Latex-ed link, just type whatever you would normally type, but inside [ ], even the \ ( \ ) should be inside the square brackets, so go ahead and experiment with the Latex we learnt in the last chapter.

$\hspace{1cm}$

$\hspace{1cm}$

Quotes are very easy to make, just type '>' (without the single quotes) before starting a new sentence, like this -

This is a quote. After the '>' Latex can be used $\textit{Like This :)}$

> This is not a quote because I gave a space before '>', which means that '>' should start the line, for a quote to work......

$\hspace{1cm}$

$\hspace{1cm}$

This is a picture -

This is caption

Learning picture Latex isn't necessary as there is a button in Brilliant that does the work for you, but here's the syntax if you want -

! [ <caption> ] (<link> ) {: . <alignment> } -- (without spaces) - caption is a small text under the previous picture, link is something that the Brilliant button will generate, and alignment is whether you want your picture to be at center, left or right.

So keep practicing Latex on all things fun!

# Chapter 5 - Learning about all words Big and Small

This chapter is about Latex text sizes, which is pretty clear from the title.........

$\text{\Huge Hi!}$ - \text{\Huge Hi!}

$\text{\huge Hi!}$ - \text{\huge Hi!}

$\text{\LARGE Hi!}$ - \text{\LARGE Hi!}

$\text{\Large Hi!}$ - \text{\Large Hi!}

$\text{\large Hi!}$ - \text{\large Hi!}

$\text{\normalsize Hi!}$ - \text{\normalsize Hi!}

$\text{\small Hi!}$ - \text{\small Hi!}

$\text{\footnotesize Hi!}$ - \text{\footnotesize Hi!}

$\text{\scriptsize Hi!}$ - \text{\scriptsize Hi!}

$\text{\tiny Hi!}$ - \text{\tiny Hi!}

That's it for this chapter, because its a scriptsize chapter LOL, so onward!

# Chapter 6 - Greek Class from Professor Percy :)

As I am a greek demigod, I shall teach you the greek letters myself :)

 Letter Written As Capital Written As $\alpha$ \alpha $\Alpha$ \Alpha $\beta$ \beta $\Beta$ \Beta $\gamma$ \gamma $\Gamma$ \Gamma $\delta$ \delta $\Delta$ \Delta $\epsilon$ \epsilon $\Epsilon$ \Epsilon $\tau$ \tau $\Tau$ \Tau

# Under Major Editing...

Note by Percy Jackson
9 months, 2 weeks ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

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:

I am changing this into a large Latex Guidebook Kinda thing with humor and lots of latex learning. It'll take weeks, but the result will be promising. Be Patient!

- 9 months, 2 weeks ago

Math in latex or Latex in Math???

- 9 months, 2 weeks ago

Same difference

- 9 months, 2 weeks ago

Changed it

- 9 months, 2 weeks ago

Thanks a lot for the guide!

- 2 months, 3 weeks ago

Okay, I have one more question. If other programs use $\LaTeX{}$, will I be able to do the quote function on there too, or is this exclusive to Brilliant?

This type of quote

- 9 months, 2 weeks ago

Like facebook? You can use latex in facebook chat windows, but only PCs can interpret the latex codes on facebook.

- 9 months, 2 weeks ago

Yea sorta.

- 9 months, 2 weeks ago

\\$$\\$$

- 9 months, 2 weeks ago

\\$$\\$$

- 9 months, 2 weeks ago

\\$$\\$$

- 9 months, 2 weeks ago

\$\text{What is this?}\\$

- 9 months, 2 weeks ago

Its a Work In Progress Latex Guide

- 9 months, 2 weeks ago

What??

- 9 months, 2 weeks ago

\$text{Is this working?}\\$ I think I can try $\LaTeX$ codes here.

- 9 months, 2 weeks ago

 1 \\$$code\\$$ 

- 9 months, 2 weeks ago

@Páll Márton - How do you change the programming lang of the codebox, please tell me...................

- 8 months, 3 weeks ago

After the three sings you write the name of the programming language, enter, code, enter three signs

- 8 months, 3 weeks ago

Lol I wrote sings

- 8 months, 3 weeks ago

LOL, thanks!

- 8 months, 3 weeks ago

\$Working\\$

- 9 months, 2 weeks ago

Thank you! I was wondering how to do the $\LaTeX{}$

- 9 months, 2 weeks ago

- 9 months, 2 weeks ago

If you see the name of the site...

- 9 months, 2 weeks ago

Which site? @Páll Márton

- 9 months ago

what comes after the dots - If you see the name of the site...

- 9 months ago

Guide (Incomplete) - Percy Jackson | ...

percy jackson|Brilliant

- 9 months ago

what if we had chapters this long in schools.

- 9 months, 1 week ago

Then everything would be simple, concise, and school would be over in a few hours.

- 9 months, 1 week ago

I hope we had chapters like this, sometimes i feel like time is frozen during math class, our teacher is super boring and dull. @Vikram Karki, @Rajam Arunprakash, @Páll Márton

- 9 months ago

Hmm, They do that.

- 9 months ago

\$\pi\\$

- 9 months, 1 week ago

It worked

- 9 months, 1 week ago

@Yajat Shamji - Check it out, the fractional numerator of a fraction is there in chapter 2

- 9 months ago

\tau $\tau$

- 9 months ago

@Jeff Giff - those are for later chapters, so please stop suggesting things to me, kid.

- 9 months ago

$\colorbox{#333333} {\color{#FFFFFF} HAHAHA}$

- 9 months ago

$\colorbox{#abcdef} {\color{#654321} HAHAHA}$

$\colorbox{cyan}{\color{#E81990}HAHAHA}$

- 9 months ago

$\colorbox{#fafafa} {\color{#040404} HAHAHA}$

$\colorbox{#bd12bd} {\color{#42df42} HAHAHA}$

$\colorbox{cyan}{\color{#E81990}Ok stop it now Páll and Jeff}$

- 9 months ago

Ok. Can you help me? I can't find a document or web page about all latex codes/commands.

I will try to write all the Latex codes I know of in the guide (and thats a lot), but every single code is hard to find..............@Páll Márton

- 9 months ago

Brilliant has a guide somewhat called brilliant formatting guide, but you can find a link to it in the wiki formatting guide. There’s a link in it that guides you to the real wiki.

- 9 months ago

this

- 9 months ago

And this

- 9 months ago

Use \colorbox{color}{text}

- 9 months ago

$\colorbox{#3D99F6}{\color{#FFFFFF}Yes, I'm using that \LaTeX{} code}$

- 9 months ago

@Elijah L See chapter 3, although its incomplete

- 8 months, 4 weeks ago

 1 2 3 4 5 var hi = "Hello, this is javascript"; function draw(){ text(hi); } 
"Hello, this is javascript"


- 8 months, 3 weeks ago

@Páll Márton - How do you make a box for output of this code?

- 8 months, 3 weeks ago

 1 Like this? 

- 8 months, 3 weeks ago

or like this?


- 8 months, 3 weeks ago

or like this?

- 8 months, 3 weeks ago

Not this

- 8 months, 3 weeks ago

This $\Uparrow$ second one

- 8 months, 3 weeks ago

four spaces and the output

- 8 months, 3 weeks ago

Thanks!

- 8 months, 3 weeks ago

sorry! it works without the #. you should write only four spaces

- 8 months, 3 weeks ago

Thanks, it worked!

- 8 months, 3 weeks ago

@Hamza Anushath - I updated my guide, so now its GIGANTIC! How are the new updates in my guide? Tell me if you have any suggestions as to what I should add..........................

- 8 months, 3 weeks ago

$1+2+3+=6$

- 8 months, 3 weeks ago

There is a typo!

- 8 months, 3 weeks ago

Thanks @Páll Márton, I changed it :)

- 8 months, 3 weeks ago

Percy, the modulo! $a\equiv b \mod n, a\bmod n, a \equiv b\pmod n$ \mod, \bmod,\pmod

- 8 months, 3 weeks ago

And $\dfrac12$, \dfrac,
Also \displaystyle, $\displaystyle \sum _{i=1}^{123} i, \int$

- 8 months, 3 weeks ago

$\Huge \dagger$ - This is a $\LaTeX$ command called dagger, written like this - \dagger and I used \Huge to make it look bigger :)

- 8 months, 3 weeks ago

Yeah. I saw it.

- 8 months, 3 weeks ago

- 8 months, 3 weeks ago

BTW can we color it? $\Huge\color{#888888}\dagger$

- 8 months, 3 weeks ago

Yeah. $\Huge\color{#0156ef}\dagger$

- 8 months, 3 weeks ago

$\Huge \color{gold} \dagger$ Behold, my imperial gold dagger LOL

- 8 months, 3 weeks ago

I think we can mark the level of our problems with daggers like moderators.

- 8 months, 3 weeks ago

Good Idea, we should make a note on this and mention everyone LOL

- 8 months, 3 weeks ago

Oh, so this is where you both got this funky idea...

Right @Percy Jackson and @Páll Márton...?

- 8 months, 1 week ago

Yes @Frisk Dreemurr (some text)

- 8 months, 1 week ago

No, there is a wiki link in the guide, in chapter 2 , It has hundreds of commands :)

- 8 months, 3 weeks ago

Can you give me a link? I don't find it.

- 8 months, 3 weeks ago

$\bcsmbh$

- 8 months, 3 weeks ago

$\righttherefore$

- 8 months, 3 weeks ago

# $\leftrightsquigarrow$ This is a Latex code - \leftrightsquigarrow

- 8 months, 2 weeks ago

$\leftrightsquigarrow$ $\Leftrightsquigarrow$ $\Leftrightarrow$

- 8 months, 2 weeks ago

Yup :)

- 8 months, 2 weeks ago

$\dagger\dagger\dagger$ 3 dagger code

- 8 months, 2 weeks ago

LOL, ok

- 8 months, 2 weeks ago

# $\leftrightharpoons$

- 8 months, 2 weeks ago

what's the code

- 6 months, 1 week ago

\leftrightharpoons

- 6 months, 1 week ago

nice

- 6 months, 1 week ago

What about text color? $use color \color{gold} GOLD \color{silver} SILVER \color{#815331}BRONZE$

- 9 months ago

$\ \colorbox{#FFFFFF}{\color{#FFFFFF}IDK}$

- 8 months, 1 week ago

What don't you know @Nathan Soliman?

- 8 months, 1 week ago

$\ \colorbox{#FFFFFF}{\color{#333333}idk what jeff means}$

- 8 months, 1 week ago

Me too, he's one mysterious guy LOL

- 8 months, 1 week ago

not as mysterious as creed

- 8 months, 1 week ago

highlight the other comment

- 8 months, 1 week ago

\color{yourcolor}

- 6 months, 1 week ago