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 A Former Brilliant Member
10 months, 3 weeks 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

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

Yajat Shamji - 10 months, 3 weeks ago

Log in to reply

Thank you! I'm working on this yet

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

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

Yajat Shamji - 10 months, 3 weeks ago

Huhh! I extended it.

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

I hope this is better

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member Still excellent!

Yajat Shamji - 10 months, 3 weeks ago

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

A Former Brilliant Member - 10 months, 3 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}

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

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

Jeff Giff - 10 months, 3 weeks ago

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

Zakir Husain - 10 months, 3 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=...

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

And thank you!

A Former Brilliant Member - 10 months, 3 weeks ago

Red Maths LOL :)

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

Its RADMaths, but...

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

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

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member I doubt it. What about history?

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member Doubt what??? and what history???

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member I think he can use the rad word. From there you can understand it

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member Oh! ok, but he still calls it redmaths, LOL

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member redmath\color{#D61F06}\text{redmath} is rad. BTW this isn't important

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member LOL, rad :)

A Former Brilliant Member - 10 months, 3 weeks ago

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

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

Thank you!

A Former Brilliant Member - 10 months, 3 weeks ago

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

A Former Brilliant Member - 10 months, 3 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

A Former Brilliant Member - 10 months, 3 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

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member The wiki page is about only LaTeX\LaTeX. There you can see more codes. But you are right, because some codes are missing.

A Former Brilliant Member - 10 months, 3 weeks ago

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

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

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

A Former Brilliant Member - 10 months, 3 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 - 10 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.

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member Dude, my point is, \mod has a SPACE before it. bmod doesn’t. Check out your guide. Wrong code! :D

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff Yeah. Thank you!

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member I got it

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member :)

Jeff Giff - 10 months, 3 weeks ago

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

Jeff Giff - 10 months, 3 weeks ago

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 :)

A Former Brilliant Member - 10 months, 3 weeks ago

@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

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

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

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

Ctrl+f

A Former Brilliant Member - 10 months, 3 weeks ago

Got it, thanks!

@Páll Márton

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

Yeah.

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

You are welcome!

A Former Brilliant Member - 10 months, 3 weeks ago

  • 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 :)

A Former Brilliant Member - 10 months, 2 weeks ago

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

A Former Brilliant Member - 10 months, 1 week ago

Log in to reply

buttons- 2.13 :)

A Former Brilliant Member - 10 months, 1 week ago

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 :)

A Former Brilliant Member - 10 months, 1 week ago

Jeff Giff - 10 months, 1 week ago

@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?

A Former Brilliant Member - 10 months, 1 week 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 - 10 months, 1 week ago

Log in to reply

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

Brilliant Mathematics Staff - 10 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

A Former Brilliant Member - 10 months, 1 week ago

Log in to reply

@A Former Brilliant Member Now your Guide is even better @Páll Márton!

A Former Brilliant Member - 10 months, 1 week ago

Log in to reply

@A Former Brilliant Member Thank you! Your buttons are useful

A Former Brilliant Member - 10 months, 1 week ago

Log in to reply

@A Former Brilliant Member LOL, this is useful for puns also. Like "Don't push my buttons" or "Stop pushing my Buttons" LOL

A Former Brilliant Member - 10 months, 1 week ago

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

Aryan Sanghi - 10 months ago

Log in to reply

Thank you!

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

Lâm Lê - 9 months, 1 week ago

Log in to reply

but \LaTeX is easier and shorter to type.

A Former Brilliant Member - 9 months, 1 week ago

Log in to reply

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

A Former Brilliant Member - 9 months, 1 week ago

Log in to reply

@A Former Brilliant Member Exactly, which renders {} useless.

A Former Brilliant Member - 9 months, 1 week ago

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 - 8 months, 1 week ago

Log in to reply

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

A Former Brilliant Member - 8 months, 1 week 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 - 8 months, 1 week ago

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

A Former Brilliant Member - 8 months, 1 week ago

Log in to reply

\(\) u are great ty

num IC - 8 months, 1 week ago

ty again. is there a similar solution for the centering brackets: []?
when i try: \ \ [ \ ] [ \ \ ] without spaces. it creates this: \[\]

num IC - 8 months ago

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

A Former Brilliant Member - 8 months, 1 week ago

@Percy Jackson

What do the measurement abbreviations stand for?

Lâm Lê - 6 months, 4 weeks ago

Log in to reply

px = pixel :)

A Former Brilliant Member - 6 months, 4 weeks ago

Thank you SO MUCH! I was wondering how to write LaTeX\LaTeX for so long...

§martie On Brilliant - 2 months, 1 week ago

Log in to reply

He’s gone from brilliant anyways :/

Jeff Giff - 2 months, 1 week ago
×

Problem Loading...

Note Loading...

Set Loading...