[Tex/LaTex] List of symbols and abbreviations

nomenclaturesymbols

How can I make a list of symbols when I am using \documentclass[a4paper,11pt]{memoir} with input-files?

Here is my main file:

\documentclass[a4paper,11pt]{memoir}

% Include all settings
\input{setup}
\begin{document}

%\input{titlePage}
%\input{hip}
%\frontmatter


%\input{abstract}
%\input{resume}
%\input{preface}
%\input{Acknowledgments}
%\printnomenclature

%\cleardoublepage
%\tableofcontents*
%\cleardoublepage
%\listoffigures*
%\cleardoublepage
%\listoftables*
\makenomenclature
\printnomenclature[6em]
\input{Symb}

%\mainmatter



%\input{chapter01}
\input{chapter02}
%\input{chapter03}
%\input{chapter04}
%\input{chapter05}
%\input{chapter06}

%\input{thebib}

%\appendix
%\appendixpage


%\input{appendix01}
%\input{appendix02}
%\input{appendix03}
%\input{appendix04}
%\input{appendix05}


%\backmatter
%\bibliography{mybib}
%\bibliographystyle{unsrt}

\end{document}

And the List of symbols file:

\chapter*{List of Symbols and Abbreviations}

$a$
$N$
$A$
$\sigma$
$m$

\nomenclature{$a$}{The number of angels per unit area}%
\nomenclature{$N$}{The number of angels per needle point}%
\nomenclature{$A$}{The area of the needle point}%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}

and here is the setups:

\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage[danish, english]{babel}
\usepackage{graphicx}
\usepackage{microtype}
\usepackage{lmodern}
\usepackage{lipsum}
\usepackage[intoc]{nomencl} % Nomenclature package
\usepackage{color}
\usepackage{times}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{textpos}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{ifthen}
%\usepackage{mathtools}
\usepackage{ragged2e,array,booktabs}
\usepackage{nomencl}
\makeheadrule{headings}{\textwidth}{1pt}

Do you know what I should do?

Best Answer

I like the nomencl package for its simplicity. It may not be a high-end solution but it serves my needs and integrates with arara which makes using it ridiculously easy. Just typeset the example below using arara.

% arara: pdflatex
% arara: nomencl
% arara: pdflatex

\documentclass[a4paper,11pt]{memoir}
\usepackage{nomencl}
\makenomenclature
\begin{document}

\printnomenclature[6em]

\section*{Section using some Symbols}

$a$
$N$
$A$
$\sigma$
$m$

\nomenclature{$a$}{The number of angels per unit area}%
\nomenclature{$N$}{The number of angels per needle point}%
\nomenclature{$A$}{The area of the needle point}%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}

\end{document}

enter image description here

If you don't like the title "Nomenclature" you can change it to whatever you like by simply doing

\renewcommand{\nomname}{List of Symbols}
Related Question