If you mean LaTeX, then just begin your code with \(

and end with \)

Example, if you wanted to write the square root of 2, you would do \(\sqrt{2}

and then end it with \).

\(\sqrt{2}\).

When you post, at the bottom, there is a formatting guide, it will tell you all you need to know.
–
Alan Yan
·
1 year, 11 months ago

Log in to reply

@Alan Yan
–
Sorry, I meant code as in a programming language, e.g. Python, Java. Should've been more precise.
–
Ryan Tamburrino
·
1 year, 11 months ago

## Comments

Sort by:

TopNewestLog in to reply

Log in to reply

For more information, see this. – Calvin Lin Staff · 1 year, 11 months ago

Log in to reply

– Ryan Tamburrino · 1 year, 11 months ago

Thanks a bunch!Log in to reply

If you mean LaTeX, then just begin your code with \(

and end with \)

Example, if you wanted to write the square root of 2, you would do \(\sqrt{2}

and then end it with \).

\(\sqrt{2}\).

When you post, at the bottom, there is a formatting guide, it will tell you all you need to know. – Alan Yan · 1 year, 11 months ago

Log in to reply

– Ryan Tamburrino · 1 year, 11 months ago

Sorry, I meant code as in a programming language, e.g. Python, Java. Should've been more precise.Log in to reply