I'm a new LaTeX user (using LyX) trying to create a nomenclature for the first time. The nomenclature works fine provided I don't want to change the order which the terms appear. However I want to divide the entries up into four different sections, Upper Case, Lower Case, Greek Letters and Abbreviations. I have been following the guide here,
http://wiki.lyx.org/Tips/Nomenclature
and I have changed the "Sort As:" option to U for Upper Case, L for Lower Case, G for Greek letters and A for Abbreviations. I then follow that guide and add the following to the document preamble.
Code: Select all
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{U}}{\item[\textbf{Upper Case}]}{%
\ifthenelse{\equal{#1}{L}}{\item[\textbf{Lower Case}]}{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Letters}]}{%
\ifthenelse{\equal{#1}{A}}{\item[\textbf{Abbreviations}]}
{}
}% matches Upper Case
}% matches Lower Case
}% matches Greek Letters
}% Abbreviations
Any help/advice would be greatly appreciated.
Thanks,
Mark