Formatting guide

This is a guide for those who want to learn use LaTeX\LaTeX or simple formatting. If you want to contribute on brilliant, then you should use LaTeX\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\LaTeX guides, but I think my guide is the most readale and complete. Let's start the learning.


Content:

1. What is Latex

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\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\LaTeX
  • Answer: \LaTeX

Here is a cool website, where you can make equations without learning codes.

Note by Páll Márton (no activity)
3 months ago

No vote yet
1 vote

  Easy Math Editor

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. numbered
2. 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 1

paragraph 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×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

Sort by:

Top Newest

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

Yajat Shamji - 3 months ago

Log in to reply

Thank you! I'm working on this yet

Log in to reply

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

Yajat Shamji - 3 months ago

Log in to reply

Huhh! I extended it.

Log in to reply

I hope this is better

Log in to reply

@Páll Márton (no activity) Still excellent!

Yajat Shamji - 2 months, 4 weeks ago

Log in to reply

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

Zakir Husain - 2 months, 4 weeks ago

Log in to reply

@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=...

Páll Márton (no activity) - 2 months, 4 weeks ago

Log in to reply

And thank you!

Páll Márton (no activity) - 2 months, 4 weeks ago

Log in to reply

Red Maths LOL :)

Percy Jackson - 2 months, 4 weeks ago

Log in to reply

Its RADMaths, but...

Jeff Giff - 2 months, 3 weeks ago

Log in to reply

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

Percy Jackson - 2 months, 3 weeks ago

Log in to reply

@Percy Jackson I doubt it. What about history?

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

@Páll Márton (no activity) Doubt what??? and what history???

Percy Jackson - 2 months, 3 weeks ago

Log in to reply

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

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

@Páll Márton (no activity) Oh! ok, but he still calls it redmaths, LOL

Percy Jackson - 2 months, 3 weeks ago

Log in to reply

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

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

@Páll Márton (no activity) LOL, rad :)

Percy Jackson - 2 months, 3 weeks ago

Log in to reply

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

Jeff Giff - 2 months, 4 weeks ago

Log in to reply

Thank you!

Páll Márton (no activity) - 2 months, 4 weeks ago

Log in to reply

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

Páll Márton (no activity) - 2 months, 4 weeks ago

Log in to reply

\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}

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

\rule{100pt}{161.8pt}
Golden ratio

Jeff Giff - 2 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.......................

Percy Jackson - 2 months, 4 weeks 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

Páll Márton (no activity) - 2 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

Percy Jackson - 2 months, 4 weeks ago

Log in to reply

@Percy Jackson The wiki page is about only LaTeX\LaTeX. There you can see more codes. But you are right, because some codes are missing.

Páll Márton (no activity) - 2 months, 4 weeks ago

Log in to reply

Wait... the mod and bmod. Wrong code.

Jeff Giff - 2 months, 4 weeks ago

Log in to reply

Why? If you write only \mod then it won't work, but ~\mod~ mod ~\mod~

Páll Márton (no activity) - 2 months, 4 weeks ago

Log in to reply

No, look- abmodn,amodn,a(modn)a\equiv b \mod n,a \bmod n, a\pmod n , mod, bmod, pmod

Jeff Giff - 2 months, 3 weeks ago

Log in to reply

@Jeff Giff What is the problem? Your codes are a\equiv b \mod n,a \bmod n, a\pmod n so the codes are good.

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

@Páll Márton (no activity) Dude, my point is, \mod has a SPACE before it. bmod doesn’t. Check out your guide. Wrong code! :D

Jeff Giff - 2 months, 3 weeks ago

Log in to reply

@Jeff Giff Yeah. Thank you!

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

@Páll Márton (no activity) I got it

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

@Páll Márton (no activity) :)

Jeff Giff - 2 months, 3 weeks ago

Log in to reply

1\bra{1} \bra{1}, for qubits

Jeff Giff - 2 months, 3 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 :)

Percy Jackson - 2 months, 3 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

Percy Jackson - 2 months, 3 weeks ago

Log in to reply

2.7. and 2.8. Code blocks and Formatted box :)

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

Ctrl+f

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

Got it, thanks!

@Páll Márton

Percy Jackson - 2 months, 3 weeks ago

Log in to reply

Yeah.

Páll Márton (no activity) - 2 months, 3 weeks ago

Log in to reply

You are welcome!

Páll Márton (no activity) - 2 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 :)

Percy Jackson - 2 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.

Páll Márton (no activity) - 2 months, 2 weeks ago

Log in to reply

buttons- 2.13 :)

Páll Márton (no activity) - 2 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 :)

Percy Jackson - 2 months, 2 weeks ago

Log in to reply

Jeff Giff - 2 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?

Páll Márton (no activity) - 2 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.

Brilliant Mathematics Staff - 2 months, 1 week ago

Log in to reply

@ Páll Márton, here you go!

Brilliant Mathematics Staff - 2 months, 1 week ago

Log in to reply

@Brilliant Mathematics Thank you! Now I can see what is the problem. There was other problems also, like: [[show,-hide-button

Páll Márton (no activity) - 2 months, 1 week ago

Log in to reply

@Páll Márton (no activity) Now your Guide is even better @Páll Márton!

Percy Jackson - 2 months, 1 week ago

Log in to reply

@Percy Jackson Thank you! Your buttons are useful

Páll Márton (no activity) - 2 months, 1 week ago

Log in to reply

@Páll Márton (no activity) LOL, this is useful for puns also. Like "Don't push my buttons" or "Stop pushing my Buttons" LOL

Percy Jackson - 2 months, 1 week ago

Log in to reply

Really the best LaTeX\LaTeX formatting. My saved and bookmarked page for referring LaTeX\LaTeX. :) @Páll Márton

Aryan Sanghi - 2 months, 1 week ago

Log in to reply

Thank you!

Páll Márton (no activity) - 2 months, 1 week ago

Log in to reply

You can also use \LaTeX{} \Rightarrow LaTeX\LaTeX{}.

Lâm Lê - 1 month, 1 week ago

Log in to reply

but \LaTeX is easier and shorter to type.

Percy Jackson - 1 month, 1 week ago

Log in to reply

Yeah. The \LaTeX{} is one \LaTeX command and an empty block {}

Páll Márton (no activity) - 1 month, 1 week ago

Log in to reply

@Páll Márton (no activity) Exactly, which renders {} useless.

Percy Jackson - 1 month, 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: \

num IC - 2 weeks, 1 day ago

Log in to reply

On a normal QWERTY keyboard, the backslash is usually above the enter key.

Percy Jackson - 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

num IC - 2 weeks ago

Log in to reply

\(\) without spaces \ \ ( \ ) ( \ \ )

Log in to reply

\(\) u are great ty

num IC - 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: \[\]

num IC - 5 days, 3 hours ago

Log in to reply

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

Percy Jackson - 1 week, 6 days ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...