# Formatting guide

This is a guide for those who want to learn use $\LaTeX$ or simple formatting. If you want to contribute on brilliant, then you should use $\LaTeX$ in many cases. This makes your posts more readable.

When you don't know how to write a symbol, then use the Google. I will post there only the important symbols.

There are lots of $\LaTeX$ guides, but I think my guide is the most readale and complete. Let's start the learning.

# 1. What is Latex

$\LaTeX$ is a formatting(or markdown) language to format documents or write formulas. In this web page we can't format documents, therefore lots of commands isn't working.

# 2. Basic formatting

This paragraph will help you to format your posts without $\LaTeX$. This is a markdown language, like HTML.



$\$-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ # 3. Basic latex operators and modificators $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ # 4. Formatting with Latex $\\[-20px]$ $\\[-20px]$ # 5. Matrices and arrays $\\[-20px]$ $\\[-20px]$ $\\[-20px]$ # 6. Not math codes # 7. Useful tips # 8. Tasks And the big question: • The big question: How to write $\LaTeX$ • Answer: \LaTeX Here is a cool website, where you can make equations without learning codes. Note by A Former Brilliant Member 6 months 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. • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events. 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:

Excellent LaTeX formatting guide! I am saving this one...

- 6 months ago

Thank you! I'm working on this yet

Don't worry. I put it in my saved collection!

- 6 months ago

Huhh! I extended it.

I hope this is better

Still excellent!

- 6 months ago

@Jeff Giff Here is a new formatting guide for Radmaths !

- 6 months ago

@Jeff Giff See what will happen if you click to the link to this guide. Delete your link's last section from there: ?from_notification=...

And thank you!

Red Maths LOL :)

- 6 months ago

- 5 months, 3 weeks ago

Zakir always calls it RedMaths, maybe he doesn't know the meaning of rad :)

- 5 months, 3 weeks ago

I doubt it. What about history?

- 5 months, 3 weeks ago

Doubt what??? and what history???

- 5 months, 3 weeks ago

I think he can use the rad word. From there you can understand it

- 5 months, 3 weeks ago

Oh! ok, but he still calls it redmaths, LOL

- 5 months, 3 weeks ago

$\color{#D61F06}\text{redmath}$ is rad. BTW this isn't important

- 5 months, 3 weeks ago

- 5 months, 3 weeks ago

Great! The only one with the cases, which I once spent AN HOUR looking for :P

- 6 months ago

Thank you!

Now this is complete :) Maybe some codes are missing, but I think I finished it

$\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\$-3.75pt] {\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}\\[-3.75pt] \rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\\[-3.75pt] {\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}\\[-3.75pt] \rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\\[-3.75pt] {\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}\\[-3.75pt] \rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\\[-3.75pt] {\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}{\color{#FFFFFF}\rule{20px}{20px}}\rule{20px}{20px}$ - 5 months, 3 weeks ago Log in to reply $\rule{100pt}{161.8pt}$ Golden ratio - 5 months, 3 weeks ago Log in to reply WHA WHAAA WHAAAAAAAAAAAAAAAA! How much time do you have? I've got 30 minutes a day to update my guide lol, this one is way better. Awesome @Páll Márton - This deserves to be turned into a Latex wiki, maybe you should ask Brilliant Mathematics, Calvin Lin, or someone else....................... - 6 months ago Log in to reply Yeah, I have a lot of time. But I think the wiki page is better. I wanted to make an example, where you should search the error, but this take a lot of time - 5 months, 4 weeks ago Log in to reply Yours is better than wiki page, as you have more than what the wiki has, just ask some moderator or something dude, this is good stuff - 5 months, 4 weeks ago Log in to reply The wiki page is about only $\LaTeX$. There you can see more codes. But you are right, because some codes are missing. - 5 months, 4 weeks ago Log in to reply Wait... the mod and bmod. Wrong code. - 5 months, 4 weeks ago Log in to reply Why? If you write only \mod then it won't work, but ~\mod~$~\mod~$ - 5 months, 4 weeks ago Log in to reply No, look- $a\equiv b \mod n,a \bmod n, a\pmod n$ , mod, bmod, pmod - 5 months, 4 weeks ago Log in to reply What is the problem? Your codes are a\equiv b \mod n,a \bmod n, a\pmod n so the codes are good. - 5 months, 4 weeks ago Log in to reply Dude, my point is, \mod has a SPACE before it. bmod doesn’t. Check out your guide. Wrong code! :D - 5 months, 4 weeks ago Log in to reply Yeah. Thank you! - 5 months, 4 weeks ago Log in to reply I got it - 5 months, 4 weeks ago Log in to reply :) - 5 months, 4 weeks ago Log in to reply $\bra{1}$ \bra{1}, for qubits - 5 months, 4 weeks ago Log in to reply Jeff Giff isn't annoying in a He-is-a-idiot kind of way More like a Leo-kind-of-way, so nothing bad about it :) facepalm isn't funy, its funny :) The jokes were courtesy of Leo, but they were pretty non-funny, if that's even a word. Happy 7.27 day! Before you ask what 7.27 day is its today 7/27/2020, why you may ask, because a super complex number like pi has a day, why not 7.27 :) - 5 months, 4 weeks ago Log in to reply @Páll Márton - How do you make that box, where latex doesn't work, the one where you write your syntax, and the one where you wrote the latex commands for greeks letters as an example, your guide is very long, so i didn't find it LOL - 5 months, 3 weeks ago Log in to reply 2.7. and 2.8. Code blocks and Formatted box :) - 5 months, 3 weeks ago Log in to reply Ctrl+f - 5 months, 3 weeks ago Log in to reply  Got it, thanks!  - 5 months, 3 weeks ago Log in to reply Yeah. - 5 months, 3 weeks ago Log in to reply You are welcome! - 5 months, 3 weeks ago Log in to reply • Make your code readable. If you get an error, then you can edit it quickly. • Remember to check the spaces after each codes. • Always check the end of the LATE​X code. If your code doesn't end, your will face many errors. • Use readable font size, but not too big (\LARGE is usually too big). • Use the Preview button before you post something, because the LaTeX isn't displayed sometimes. Use an online editor to verify whether your codes work or not. • If you have written a lot of code, then save it, as the web page doesn't always save your codes. @Páll Márton - I did some grammatical corrections and stuff in the Useful Tips part :) - 5 months, 2 weeks ago Log in to reply @Percy Jackson Should I make the whole note with buttons? I think you can use it easier if you should press only a button to see the content. - 5 months, 2 weeks ago Log in to reply buttons- 2.13 :) - 5 months, 2 weeks ago Log in to reply Yeah, it would seem easier to just click what you want to read instead of scrolling. Nice job on the buttons, and thanks for the mention! Buttons can only be used in notes and wikis, not even problems so change that last statement a bit @Páll Márton :) - 5 months, 2 weeks ago Log in to reply - 5 months, 2 weeks ago Log in to reply @Brilliant Mathematics There is a problem with this note. I have a document with the code of it. It is working, but there isn't. Can you help me? This is a very common problem. Once at the daily chalanges and once under @Percy Jackson's note. Thank you! P.S.: Who should I mention next time if I have a similar problem? - 5 months, 2 weeks ago Log in to reply Thanks. I've fixed it for you by removing the following text. 2.3. Quote}\\[-5px]\hspace{300px}\)]] Yes, this is a common problem. Our engineers are on it. I will set-up a note to let other users notify me in 10 minutes. Staff - 5 months, 2 weeks ago Log in to reply Staff - 5 months, 2 weeks ago Log in to reply Thank you! Now I can see what is the problem. There was other problems also, like: [[show,-hide-button - 5 months, 2 weeks ago Log in to reply Now your Guide is even better @Páll Márton! - 5 months, 2 weeks ago Log in to reply Thank you! Your buttons are useful - 5 months, 2 weeks ago Log in to reply LOL, this is useful for puns also. Like "Don't push my buttons" or "Stop pushing my Buttons" LOL - 5 months, 2 weeks ago Log in to reply Really the best $\LaTeX$ formatting. My saved and bookmarked page for referring $\LaTeX$. :) @Páll Márton - 5 months, 1 week ago Log in to reply Thank you! - 5 months, 1 week ago Log in to reply You can also use \LaTeX{} $\Rightarrow$ $\LaTeX{}$. - 4 months, 2 weeks ago Log in to reply but \LaTeX is easier and shorter to type. - 4 months, 2 weeks ago Log in to reply Yeah. The \LaTeX{} is one \LaTeX command and an empty block {} - 4 months, 1 week ago Log in to reply Exactly, which renders {} useless. - 4 months, 1 week ago Log in to reply is the page itself done in Latex? if so: how do u print a backslash and opening brackets just as text? like this "$\backslash($" . if i use \backslash it creates a thin backslash: $\backslash$ but how do i write a normal one like this: \ - 3 months, 2 weeks ago Log in to reply On a normal QWERTY keyboard, the backslash is usually above the enter key. - 3 months, 2 weeks ago Log in to reply ;-) ;-) if i write \ in a latex block, then it is not shown because it is a special symbol. my question is how to show a "normal" backslash like this: \ in a latex block and not a thin one like this: $\backslash$ - 3 months, 2 weeks ago Log in to reply \(\) without spaces \ \ ( \ ) ( \ \ ) - 3 months, 2 weeks ago Log in to reply \(\) u are great ty - 3 months, 2 weeks ago Log in to reply ty again. is there a similar solution for the centering brackets: []? when i try: \ \ [ \ ] [ \ \ ] without spaces. it creates this: \[$

- 3 months ago

\(\) - Thnx @Páll Márton (no activity)

- 3 months, 2 weeks ago

What do the measurement abbreviations stand for?

- 2 months ago

px = pixel :)

- 2 months ago