## LaTeX forum ⇒ General ⇒ nomencl | Lists of Symbols and Abbreviations

LaTeX specific issues not fitting into one of the other forums of this category.
rrai
Posts: 1
Joined: Sat Jan 26, 2013 2:48 am

### nomencl | Lists of Symbols and Abbreviations

Hi,

I would like to create different "List of Symbols" and "List of Abbreviation" in different pages. I could list both symbol and abbreviation under the same heading as following,
\usepackage{nomencl}\makenomenclature \renewcommand{\nomname}{Symbols and Constants}\printnomenclature The symbol $\alpha$ \nomenclature{$\alpha$}{Elevation Angle} and constant $a$\nomenclature{a}{Mass Rate} are important in this research.

Then I compliled with:
makeindex file.nlo -s nomencl.ist -o file.nls

It works. Now I would like to list the symbols and constants separately in two pages. What need to change in the above code and compilation process?

Regards,
rrai
Last edited by localghost on Sat Jan 26, 2013 11:03 am, edited 1 time in total.
Reason: Source code has to be tagged as such to keep a post clear and legible (see Board Rules).

Tags:

cgnieder
Site Moderator
Posts: 1990
Joined: Sat Apr 16, 2011 7:27 pm
Hi rrai,

welcome to the LaTeX community.

This is not possible with »nomencl« as far as I know. There are other packages like glossaries that can handle multiple lists. It is the by far most comprehensive package of this type that I know of (see glossaries-user.pdf for the comprehensive manual).

Here is an example:

\documentclass{article}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc} \usepackage{longtable} \usepackage{hyperref}\usepackage[sanitize={symbol=false}]{glossaries} % symbols:\newglossary[syg]{symbol}{sys}{syo}{List of Symbols}\newglossaryentry{m}{   name        = {mass} ,   symbol      = {\ensuremath{m}} ,   description = {inertial mass, is a quantitative measure of an object's     resistance to \glsname{a}} ,   type        = symbol}\newglossaryentry{a}{   name        = {acceleration} ,   symbol      = {\ensuremath{a}} ,   description = {is the rate at which the \glsname{v} of a body changes with     time} ,   type        = symbol}\newglossaryentry{v}{   name        = {velocity} ,   symbol      = {\ensuremath{v}} ,   description = {velocity is the rate of change of the position of an object,     equivalent to a specification of its speed and direction of motion} ,   type        = symbol} % abbreviations:\newglossary{abbrev}{abs}{abo}{List of Abbreviations}\newglossaryentry{MS}{   name        = MS ,   description = mass spectroscopy ,   type        = abbrev}\newglossaryentry{NMR}{   name        = NMR ,   description = nuclear magnetic resonance ,   type        = abbrev}\newglossaryentry{ESR}{   name        = ESR ,   description = electron spin resonance ,   type        = abbrev} \makeglossaries \begin{document} Some text referring to $\glssymbol{v} = \glssymbol{a} \times t$ and to \gls{MS}and other sorts of spectroscopy like \gls{NMR} and \gls{ESR}. \glsaddall \printglossary[type=abbrev] % the index' style displays the symbol, an alternative might be the tree'% type; one could also define a custom style\printglossary[type=symbol,style=index] \end{document}

glossaries.png (39.67 KiB) Viewed 20518 times

Regards
site moderator & package author