I wanted to print out a nomenclature with symbols (i.e. VARIABLE - DEFINITION - SYMBOL form). Below is the MWE

\usepackage[acronym, toc, section, shortcuts, nopostdot, nogroupskip]{glossaries} 
\newglossary[ilg]{indices}{iyi}{iyg}{List of indices}

\newacronym{ECD}{ECD}{equivalent circuit diagram}
\newacronym{RES}{RES}{renewable energy source}
  description={Equivalent series resistance},
  sort=Rx1, type=symbols
  description={Indicates reference value},
  sort=ref, type=indices

\printglossary[type=\acronymtype, style=long, title=List of Abbreviations and Acronyms]
\printglossary[type=symbols, style=long4col, title=Nomenclature]
\printglossary[type=indices, style=long, title=List of indices]

The error is:

! Undefined control sequence.
<argument> \Ohm
l.5 ...etentrycounter[]{page}\glsnumberformat{1}}}
The control sequence at the end of the top line
of your error message was never \def'ed... BLA-BLA-BLA

It occurs only with 4cols styles one of which I need for printing out the symbols column. I also totally don't understand the error. Btw, it doen't occur with *3col styles.

  • 1
    You need to load a package that defines \Ohm. The reason the 3cols styles don't produce an error is because they don't try to use the symbol. – Nicola Talbot Dec 19 '13 at 23:14
  • @NicolaTalbot OMG, thanks a lot. I'd even like to delete this question, but let it be. Actually, I tried to change the glossary style yesterday late evening, that's why so stupid mistakes. – Omicron_Persei_11 Dec 20 '13 at 14:58
  • 1
    Don't worry about it. The siunitx and gensymb packages both provide \ohm and textcomp provides \textohm if that's of any help. – Nicola Talbot Dec 20 '13 at 15:10

As @NicolaTalbot mentioned above, \Ohm is not a symbol. I needed to use symbol={\ensuremath{\Omega}} instead. Excuses, I was simply too tired yesterday evening for noticing that. But still may be somebody will do the same stupid mistake, so I keep the question (and close it).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.