How to write math e...
 
Notifications
Clear all

[Sticky] How to write math equations, symbols and chemical formulae on the forum [LaTeX Tutorial]


Zeeshan Ahmed
Posts: 715
Admin
Topic starter
(@zeeshan)
Honorable Member
Joined: 2 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

4 Replies
M.Tawofi
Posts: 718
Admin
(@m-tawofi)
Honorable Member
Joined: 2 years ago

That's actually so helpful. 

 

What about chemical formulae (e.g. O2) 

 

Reply
Zeeshan Ahmed
Admin
(@zeeshan)
Joined: 2 years ago

Honorable Member
Posts: 715

@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)}

Reply

Ali Sami Farooq
Posts: 15
(@alisamifarooq)
Active Member
Joined: 11 months ago

Wow, its really amazing , thank you, it is best option to describe things. ~ Ali Sami Farooq

Reply
Darik elwan
Posts: 1
(@darikelwan)
New Member
Joined: 9 months ago

that is very helpful for every student , thanks for this facility ~ Darik Elwan

Reply




How To Choose The Right University For You?

How To Choose The Right University For You?
Education Studying University
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?

2022 Real Exams Cancelled Again?
A levels Education GCSEs
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?

Should I do a Physics Degree?
Degrees University
A physics degree will be a good choice for you if you enjoy studying A-Level Maths and Physics. The degree...
View Post

How To Deal With Rejection (From University)?

How To Deal With Rejection (From University)?
Education University
No matter what anyone says, rejection hurts. A LOT. Rejection is an almost unavoidable experience of being human. We all...
View Post