Math & ScienceProblem with Math Expression

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
mahmood
Posts: 26
Joined: Sun Oct 31, 2010 11:42 am

Problem with Math Expression

Post by mahmood »

I have wrote

Code: Select all

T=(H \times t\_{h})\div(M \times t_{m})
However get this error:

Code: Select all

! Missing $ inserted.
<inserted text> 
                $
l.514    T=(H \times
                     t\_{h})\div(M \times t_{m})
? 
any way to fix that?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with Math Expression

Post by localghost »

You should write this expression in math mode (as the error message indicates).

Perhaps you should do some basic reading if you are still struggling with such essentials.


Thorsten
mahmood
Posts: 26
Joined: Sun Oct 31, 2010 11:42 am

Re: Problem with Math Expression

Post by mahmood »

ok thanks for your help !
Post Reply