I try to write (x,y,\theta)
but I get an error that says, "Missing $ inserted". If I remove \theta
the error disappears. What is wrong?
[Tex/LaTex] How to make theta symbol
symbols
symbols
I try to write (x,y,\theta)
but I get an error that says, "Missing $ inserted". If I remove \theta
the error disappears. What is wrong?
Best Answer
\theta
is defined in math mode which is why TeX makes the announcement$ inserted
. If what you type is indeed a formula, surround it with$
:If it is normal text, the correct input depends a bit on whether you use (normal) (La)TeX or e.g. XeLaTeX (or other compiler that understands unicode input). XeLaTeX allows for direct Unicode input and does not need
\theta
.See also How to typeset greek letters