# $\LaTeX{}$ Discussion Note

This note has been created for everyone who needs help in $\LaTeX{}$ to ask their doubts so that we can become better at $\LaTeX{}$ as a Brilliant Community!

Note by A Former Brilliant Member
11 months, 1 week 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:

Does anyone know how to align equations?

- 11 months, 1 week ago

- 11 months, 1 week ago

So for example:

$x^2 + 2x + 1= 9$

$(x+1)^2 = 9$

$x+1 = \pm 3$

The equal signs are not vertically aligned, is there a way to vertically align them?

- 11 months, 1 week ago

@Elijah L - Try using \ [ \ ] instead of \ ( \ )

- 11 months, 1 week ago

$x^2 + 2x + 1 = 9$

$(x+1)^2 = 9$

$x+1=\pm 3$

(me trying to use \ [ \ ])

The equations are still not vertically aligned. They're centered, but not vertically aligned.

- 11 months, 1 week ago

\begin{align} 2x - 5y &= 8 \ 3x + 9y &= -12 \end{align}

- 11 months, 1 week ago

\begin{aligned} 2x - 5y &= 8 \\ 3x + 9y &= -12 \\ ha + m &= za \end{aligned}

- 11 months, 1 week ago

@Elijah L, @Percy Jackson, is this what you guys were looking for?

- 11 months, 1 week ago

- 11 months, 1 week ago

Yes, that's what I'm looking for, thank you!

- 11 months, 1 week ago

You are welcome @Elijah L :D

- 11 months, 1 week ago

I was looking for breakfast, when i finished it I saw that you answered the question before me, no problemo :) @Hamza Anushath, Glad you foubd your answer @Elijah L

- 11 months, 1 week ago

Thanks for offering to help as well!

- 11 months, 1 week ago

ha + m = za LOL @Hamza Anushath

- 11 months, 1 week ago

I can give a pleasant LOL now and then @Percy Jackson

That is how I educate and entertain

- 11 months, 1 week ago

@Yajat Shamji hasn't seen my Latex-y solutions yet, or else the Latex Warden's mind would have been blown by now, in the BRILLIathon problems

- 11 months, 1 week ago

@zico quintina - This is my Latex Discussion Note, you are welcome to ask all your doubts here :)

i know now how to write the start and end signs of latex start: "\("; end: "\)" in text by using \ \ ( \ ) ( \ \ ) without spaces.
but how to write \ [ and \ ] as text without spaces?

- 7 months, 3 weeks ago

\[\]

like this - \ \ ( \ ) [ \ \ ]

- 7 months, 3 weeks ago

\[\] you are great. tyvm

- 7 months, 3 weeks ago

No problem :)

- 7 months, 3 weeks ago

i just saw that your name is mentioned at the hidden text button in the latex guide. so this was no standard Latex feature? u invented it?

- 7 months, 3 weeks ago

What do you mean? Are you asking for the button? I didn't invent anything though :)

- 7 months, 3 weeks ago

If you mean the 'Note by Percy Jackson', no that appears by default on every note :)

- 7 months, 3 weeks ago

i checked how to do the buttons that reveal and hide some text.
and on this side: https://brilliant.org/discussions/thread/formatting-guide/ at "2.13 Buttons",
it says: "Idea from Percy Jackson"

- 7 months, 3 weeks ago

Yes, I kinda found it, but not invented :)

- 7 months, 3 weeks ago

so ty for finding it ;-). can u tell me where u searched?

- 7 months, 3 weeks ago

Wiki formatting - This wiki :)

- 7 months, 3 weeks ago

ty

- 7 months, 3 weeks ago

No problem :)

- 7 months, 3 weeks ago

since u are much better in finding infos than i am: do you know if brilliant has anchors on their pages?
i would prefer to link to a chapter directly instead of linking a page and say "look at 2.13 Buttons".

- 7 months, 3 weeks ago

You have comment anchors, but not anchors to specific points on notes. Those can only be done by the staff members. For comment anchors though, whenever you get a notification for a comment, and you click it, it will take you directly to the comment, use the link that is given for that page, and you can anchor that comment at any time :)

PS - Not really that good at this stuff, just got lucky that one time when i found it. Páll Márton is way better than me. He created the complete guide, found multiple things, like how to make cool shapes with latex, and how to make the unformatted brackets that you asked me for above. He created a line that is like a color pallet and has every color using latex, so its really him that can be considered the latex god of sorts lol

- 7 months, 3 weeks ago

Páll Márton has (no activity) behind his name. (since he answered at leat once, i dont know if this "no activity" was auto-created)
and you are also great in figuring out stuff.
before u told me how to do it, i tried several \ [ combos, but they always produced a linefeed.
ty for the hint with the comment anchors.
again: you have a great knowledge. i took me a while to at least find out that these in-side-links are called anchors but you seem to know that already.

- 7 months, 3 weeks ago

A few months on this community and you can figure out everything with the help of other members and your own inquisitiveness lol