Math & Science ⇒ Math Commands Not Working
Math Commands Not Working
I just get error messages.
Maybe I should just stick with pencil and paper and throw the computer (and this LaTeX software) out the window. It's clear as mud.
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
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Math Commands Not Working
\( ... \)
(LaTeX inline math) or $ ... $
(TeX inline math). For example:Code: Select all
\documentclass{article}
\begin{document}
\( \infty \)
$ \infty $
\end{document}
Perhaps have a look at the freely available

Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Math Commands Not Working
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Math Commands Not Working
Excuse me? That's insulting. Why do you assume that I have not? The fact is that I spent my entire evening reading not one but two of these tutorials. One of them is the reference that localghost recommends — http://theoval.cmp.uea.ac.uk/~nlct/latex/novices — and the other is "More Math into LaTeX" by Rainer Schöpf.You cannot expect to easily use LaTeX without reading something.
I find them poorly organized, and they fail to explain basic organizational structure, such as what the h*** "packages" are. I still don't know.
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Math Commands Not Working
Well, so you have read 9. Mathematics:gremlint wrote:Why do you assume that I have not? The fact is that I spent my entire evening reading not one but two of these tutorials. One of them is the reference that localghost recommends — http://theoval.cmp.uea.ac.uk/~nlct/latex/novices — and the other is "More Math into LaTeX" by Rainer Schöpf.
The next two small sections explain those two math modes. It's pretty similar to what I wrote above.In order to use any of the maths commands we need to be in one of the mathematics environments. There are two basic types of mathematics: in-line maths and displayed maths.
So, did it help you writing math symbols, are you able to write \infty now, is the problem solved?
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Math Commands Not Working
But this is not the topic in this thread. So, please keep the point. If you are now able to write in math mode without complications, please accept the answer that led you to the solution.gremlint wrote:[…] I find them poorly organized, and they fail to explain basic organizational structure, such as what the h*** "packages" are. I still don't know.
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10