I am using glossaries package and I encountered a problem in the symbol field. When I define it as $m=1$
I get the following error message:
! Missing $ inserted.
<inserted text>
$
l.6 \end{theglossary}
\glossarypostamble
After carefull analysis I discovered that if I remove the equal sign =
, everything works perfectly. But I have to use the equal sign... Is there an alternative symbol for the equal sign?
If I change the field symbol from $m=1$
to $m *(alternative equal sign)* 1$
, my glossary should compile correctly.
Here is a MWE, change the symbol field and you'll see the magic... (output after the MWE)
\documentclass{scrartcl}
\usepackage{glossaries}
\makeglossaries
\newglossaryentry{vacuous}
{
name={vacuous},
description={A mass whose bla bla bla},
symbol=$m=1$,
}
\begin{document}
\gls{vacuous}
\glossarystyle{index} % chose style here
\printglossary[type=main]
\end{document}