# Seeing actual $$\LaTeX$$

We have provided a simple way to view the Latex code which generates all the wonderful math equations that you see.

If you hover over an equation (place your mouse over it for a second), it appears in a box:

image

You can test this feature with the following line of LaTeX:

$e^{i \pi } + 1 = 0, \quad i \, \heartsuit \text{ Brilliant!}$

Additionally, if you click on the menu in the top right corner, and select "Toggle LaTeX", we will then display the latex code, instead of the actual equations. Selecting it again would display the equations.

This allows you to easily read see all of the latex on the page. Furthermore, you can select the text, copy, and paste it into your comment (and then edit it). This way, you can easily reference specific equations.

Refer to this video for an example.

Note: This does not apply to images of LaTeX that members uploaded to problems or solutions.

Update: For solvables that appear in modal boxes, you can now select "Toggle LaTeX" from the "dot dot dot" menu.

Note: Currently "Toggle LaTeX" doesn't work on notes in modal boxes. You will need to open it in it's own page.

Note by Calvin Lin
3 years, 6 months ago

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:

$\Huge\color{#ff00b3}{♛}\;\;\;\color{#ff0000}{ ❤ }\;\;\;\color{#0000ff}{\mathbf{B}}\color{#ff7f00}{\mathbf{r}}\color{#ffff00}{\mathbf{i}}\color{#00ff00}{\mathbf{l}}\color{#00ffff}{\mathbf{l}}\color{#0000ff}{\mathbf{i}}\color{#8b00ff}{\mathbf{a}}\color{#ff0000}{\mathbf{n}}\color{#ff7f00}{\mathbf{t}}\color{color:#ffff00}{\mathbf{.}}\color{#00ff00}{\mathbf{o}}\color{#0081ff}{\mathbf{r}}\color{#ff69b4}{\mathbf{g}}$

- 3 years, 6 months ago

I 100% agree... best math site in the world!

- 3 years, 6 months ago

Also Physics!

- 3 years, 2 months ago

How much time do you use to do this? I admire your determination. Seriously.

- 9 months, 1 week ago

$\quad i \, \heartsuit \text{ Brilliant!}$

- 3 years, 6 months ago

$\sqrt{-\heartsuit^2}\text{ Brilliant}$

- 3 years, 6 months ago

$\quad i \, \heartsuit \text{ Brilliant!}$ It worked! Thank you!

- 3 years, 6 months ago

What does this mean''hover over an equation''?

- 3 years, 6 months ago

Staff - 3 years, 6 months ago

Put your mouse cursor on the equation and you can see the $$\LaTeX$$ form of the equation

- 3 years, 6 months ago

ok got it thanx!!

- 3 years, 6 months ago

$e^{i\pi}+1=0\quad i\, \heartsuit\text{brilliant!}$

- 3 years, 6 months ago

Very nice. This is a great addition and is one of the many reasons why I love Brilliant. Along with that, it feels good to connect with those who have very similar interests to yours, especially at young ages.

- 3 years, 6 months ago

$$LaTeX$$ is way, way awesome! $$\large{ { \color{red}{ADDICTIVE!}}}$$

- 2 years, 10 months ago

Yay! Looks great :)

Staff - 2 years, 10 months ago

Update -- we added a new option in the • • • menu on problems:

.

Staff - 3 years, 6 months ago

Thanks for the guide, Calvin Lin. With this guide, I can post my math problems and their solutions better.

- 3 years, 6 months ago

That's the idea :)

Staff - 3 years, 6 months ago

Thanks a lot! This has been really helpful!

- 3 years, 6 months ago

What if a user is on the Brilliant app?

- 3 years, 6 months ago

No support in the Brilliant app yet, sorry :/ You can work around this issue by opening the page in the mobile browser and using the Toggle LaTeX menu from there.

Sorry!

Staff - 3 years, 6 months ago

Hope to see the feature added soon ,sir. @Silas Hundt

- 7 months, 2 weeks ago

Yeah me too!

- 7 months, 2 weeks ago

Can you make some keyboard shortcut to toggle latex?

- 3 years, 2 months ago

Unfortunately no, not at this moment. We will keep that in mind if a lot of people start using "Toggle Latex", and want a shortcut.

Staff - 3 years, 2 months ago

Thank you for the quick response.

- 3 years, 2 months ago

$$e^{i \pi} + 1 = 0$$ $$EULER'S_{IDENTITY}$$

- 3 months, 3 weeks ago

LaTeX:$\quad i\,\heartsuit \text{Brilliant!}$

- 5 months, 4 weeks ago

LaTeX: $e^{i\pi}+1=0,\quadi\,\heartsuit\text{Brilliant!}$

- 5 months, 4 weeks ago

Like it ...$$LATEX$$

- 7 months, 3 weeks ago

$$\LaTeX$$ is a better command than $$LATEX$$ or $$LaTeX$$, if you ask me.

- 7 months, 2 weeks ago

Please tell me the code, I am a smartphone user.

- 7 months, 2 weeks ago

Just type \LaTeX to do it.

- 7 months, 2 weeks ago

$$\LaTeX$$

- 7 months, 2 weeks ago

It works thank you. @Vee Zhi

- 7 months, 2 weeks ago

When I write a $$\LaTeX$$ it become center alligned. What should I do? You can see this problem of mine https://brilliant.org/problems/stinky-hexagon/?group=aZuSp5iwOGP2&ref_id=595352 @Calvin Lin

- 3 years, 3 months ago

Instead of using $$\backslash[ \quad \backslash]$$, use $$\backslash( \quad \backslash)$$ around your Latex code instead. The former forces the equation into a newline (as you realized), but the latter allows things to continue on in the paragraph.

I've edited your comment so you can take a look at it.

Staff - 3 years, 3 months ago

Got it.

- 3 years, 3 months ago

as you can see in this comment also

- 3 years, 3 months ago

I have always been saying

Love Math, Love Brilliant!

- 3 years, 6 months ago

Thank you for this $$\color\red{nice}~~\color\green{addition} .$$

- 3 years, 6 months ago

Sir but how can i click on my avatar , if i click then the question disappears @Calvin Lin @Silas Hundt

- 3 years, 6 months ago

Update -- we added the toggle LaTeX feature to problems in modal view as well.

Staff - 3 years, 6 months ago

See my comment below. You have to open the problem in a new window in other to use the Toggle Latex feature, sorry.

Staff - 3 years, 6 months ago

Comment deleted Dec 08, 2014

Don't tell everyone! :)

Staff - 3 years, 6 months ago

Wowwwwwwwwww..

- 3 years, 6 months ago

$$I\ \heartsuit\ \LaTeX$$

- 3 years, 6 months ago

$$I\ \heartsuit\ Brilliant.$$$I\ \heartsuit\ Brilliant.$

- 3 years, 6 months ago

$$a_{i-1}$$

- 3 months, 3 weeks ago

Yay, finally a feature like this! This will definitely help a lot of LaTeX newbies out there :D

EDIT: things like these still don't work yet apparently: $\left\{\begin{array}{l}\text{Equation 1}\\\text{Equation 2}\end{array}\right.$

EDIT2: Hm, the "toggle latex" option doesn't work. It toggles everything on the main feed, but once you click on a problem, it just shows the regular latex.

- 3 years, 6 months ago

Regarding the first edit: it doesn't work on comments that you just typed in. Once you refresh the page, the latex will be displayed.

This is a screenshot of what I get on your comment:

Staff - 3 years, 6 months ago

Currently, you need to open the problem in it's own window for Toggle LaTeX to work (it doesn't work in modals).

Staff - 3 years, 6 months ago

as you can see in this comment also

- 3 years, 3 months ago

When I write a $\LaTeX$ it become center alligned. What should I do? see this problem of mine https://brilliant.org/problems/stinky-hexagon/?group=aZuSp5iwOGP2&ref_id=595352

- 3 years, 3 months ago