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!}$

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

Update: The following functionality has been removed (explanation):

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 by Calvin Lin
4 years, 1 month 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}}$

- 4 years, 1 month ago

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

- 4 years, 1 month ago

Also Physics!

- 3 years, 9 months ago

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

- 1 year, 4 months ago

- 3 months, 1 week ago

Hi @Blan Morrison – yes, it is intentional.

Staff - 3 months, 1 week ago

I don’t mean to be intrusive, but would you mind explaining why that decision was made?

- 3 months, 1 week ago

Not intrusive at all. We removed it for three reasons:

1. There are many great places on the internet to learn how to write LaTeX, and we're never going to do a good job contributing in this area.
2. It was a somewhat troublesome feature to maintain.
3. It was actively confusing to some users – we received plenty of questions about it from users.

Note that you can still see the LaTeX that was used to generate LaTeX on the screen by hovering over it.

Staff - 3 months ago

But the hovering does not work for me

- 3 months ago

@Mohmmad Farhan – what browser are you using? It works for me on Chrome, Firefox, and Safari.

Staff - 3 months ago

@Silas Hundt, I am using Microsoft Edge

- 3 months ago

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

- 4 years, 1 month ago

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

- 4 years, 1 month ago

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

- 4 years, 1 month ago

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

- 4 years, 1 month ago

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

- 4 years, 1 month ago

ok got it thanx!!

- 4 years, 1 month ago

Staff - 4 years, 1 month ago

What if a user is on the Brilliant app?

- 4 years, 1 month 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 - 4 years, 1 month ago

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

- 1 year, 2 months ago

Yeah me too!

- 1 year, 2 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.

- 4 years, 1 month ago

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

- 4 years, 1 month ago

That's the idea :)

Staff - 4 years, 1 month ago

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

- 4 years, 1 month ago

Thanks a lot! This has been really helpful!

- 4 years, 1 month ago

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

.

Staff - 4 years, 1 month ago

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

- 3 years, 5 months ago

Yay! Looks great :)

Staff - 3 years, 5 months ago

Can you make some keyboard shortcut to toggle latex?

- 3 years, 9 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, 9 months ago

Thank you for the quick response.

- 3 years, 9 months ago

I can't find the "Toggle LaTeX" command anymore. Is it still available? It's a real help to learn LaTeX!

- 3 months ago

Ok. Don't bother to answer. I just read the post by Blan Morrison and the replies. The toggle LaTeX command was really helpful to me. I am a bit disappointed at the decision to remove it, though I understand you have your reasons.

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

- 4 years, 1 month 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 - 4 years, 1 month 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 - 4 years, 1 month 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, 11 months ago

as you can see in this comment also

- 3 years, 11 months ago

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

- 4 years, 1 month ago

$$I\ \heartsuit\ \LaTeX$$

- 4 years, 1 month ago

Wowwwwwwwwww..

- 4 years, 1 month ago

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

- 4 years, 1 month ago

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

Staff - 4 years, 1 month 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 - 4 years, 1 month ago

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

- 4 years, 1 month ago

I have always been saying

Love Math, Love Brilliant!

- 4 years, 1 month 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, 11 months ago

as you can see in this comment also

- 3 years, 11 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, 11 months ago

Got it.

- 3 years, 10 months ago

Like it ...$$LATEX$$

- 1 year, 2 months ago

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

- 1 year, 2 months ago

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

- 1 year, 2 months ago

Just type \LaTeX to do it.

- 1 year, 2 months ago

It works thank you. @Vee Zhi

- 1 year, 2 months ago

$$\LaTeX$$

- 1 year, 2 months ago

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

- 1 year ago

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

- 1 year ago

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

- 10 months, 3 weeks ago

$10×9×1$

- 5 months, 2 weeks ago

10 \times 9

- 5 months, 2 weeks ago

$$10\times9=90$$

- 5 months, 2 weeks ago

FYI I've edited your comment so that you can see how to use the Latex backets of $$\backslash ( \quad \backslash)$$ around your code.

Staff - 5 months, 2 weeks ago

$$a_{i-1}$$

- 10 months, 3 weeks ago