How to write math e...

Clear all

# [Closed] How to write math equations, symbols and chemical formulae on the forum [LaTeX Tutorial] Posts: 764
Topic starter
(@zeeshan)
Prominent Member
Joined: 3 years ago

We have enabled latex on the forum. This means you are able to write formulas and equations on our forum.

To do so, you have to put your LaTeX code in between latex tags, like the following:

If you want to write a quadratic equation, you would write it like this:

Which outputs this: $x^2 + 5x + 6 = 0$

====================================================

You can also write fractions in latex.

Will give you this: $\frac{1}{2}$

You can even write things like this $\frac{x}{2+\frac{x}{2-\frac{x}{3}}}$

====================================================

Subscripts also work, so this:

Would give this $O_{2}$

Which can eventually look like this $6CO_{2(g)} + 6H_{2}O_{(l)} > C_{6}H_{12}O_{6(s)} + 6O_{2(g)}$

====================================================

Clicking preview before you post the latex code is also useful as you will see what your code looks like

2 Replies Posts: 735
(@m-tawofi)
Honorable Member
Joined: 3 years ago

That's actually so helpful.

What about chemical formulae (e.g. O2) (@zeeshan)
Joined: 3 years ago

Prominent Member
Posts: 764

@m-tawofi

Yeah, here's how subscripts work

This:

Would give this $O_{2}$

Which can eventually look like this $6CO_{2(g)} + 6H_{2}O_{(l)} > C_{6}H_{12}O_{6(s)} + 6O_{2(g)}$

## EXAM TOPICS TO COME UP – 2022 SUMMER EXAMS (GCSE and A-Level)

As you know, the topics for GCSE and A-Level exams have been released today by all exam boards. Below are...
View Post

## How To Choose The Right University For You?

Choosing the right university is one of the most important decisions you will make in your life. For most students,...
View Post

## 2022 Real Exams Cancelled Again?

Ofqual and the government have announced that they are in talks about the changes for the 2022 examinations (GCSE, AS-Level...
View Post

## Should I do a Physics Degree?

A physics degree will be a good choice for you if you enjoy studying A-Level Maths and Physics. The degree...
View Post