Nomenclature with Sections
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Sat Apr 10 11:44:34 UTC 2021
Am 10.04.21 um 09:09 schrieb Wolfgang Engelmann:
> I would like to have parts of the nomenclature as a separate section,
> namely Abbreviations and Mathematical Symbols (see ##>> below).
> I found this in the net, but don't know how to realize it so that both
> appear in the pdf output printed as sections.
>
> %usepackage{ifthen}
> %Creating Nomenclature with Sections
> %\renewcommand{\nomname}{Glossary}
>
> %\renewcommand{\nomgroup}[1]{%
> %\ifthenelse{\equal{#1}{A}}{\item[\textbf{Roman Symbols}]}{%
> %\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Symbols}]}{%
> ##>>%\ifthenelse{\equal{#1}{C}}{\item[\textbf{Abbreviations}]}{%
> %\ifthenelse{\equal{#1}{S}}{\item[\textbf{Subscripts}]}{%
> ##>>%\ifthenelse{\equal{#1}{Z}}{\item[\textbf{Mathematical Symbols}]}
> %{}
> %}% matches mathematical symbols
> %}% matches Subscripts
> %}% matches Abbreviations
> %}% matches Greek Symbols
> %}% matches Roman Symbols
>
> %\def\nompreamble{\addcontentsline{toc}{section}{\nomname}\markboth{\nomname}{\nomname}}
>
>
> Wolfgang
looking at the .nlo file I see that the entries start with an a as here:
\nomenclatureentry{aprokaryots@[{prokaryots}]
so I guess that the {A} {C} etc above serve to sort the items according
to these letters. But I still do not know enough to make it work. Anny
hint were I can read about it in respect to it use in LyX?
Wolfgang
More information about the lyx-users
mailing list