General ⇒ Divided List of Abbreviations
Divided List of Abbreviations
i am about to write my diploma thesis. I like LaTeX very much for now, but regarding my list of abbreviations i face some problem - eevn dont knowing if my wish is possible to come true =). I also used google and the boards search function w/o getting help =(-
I want to create a list of abbreviations, divided in more or less subchapters. The abbreviations should be loaded from a file, which looks more or less like
\nomenclature[subchapter in the list]{abbreviation}{abbreviation meaning}
it should then index and sort the abbreviations.
eg:
\nomenclature[Sausages]{Sa}{Salami}
\nomenclature[vegetables]{Sal}{Salad}
\nomenclature[Sausages]{H}{Ham}
should produce
List of abbreviations:
Sausages:
H--------------------------Ham
Sa-------------------------Salami
Vegetables:
Sal------------------------Salad
and not im not in teh food industry =) just e.g. for clearance.
Sorry for my english and thanks for upcoming help.
Regards oZee
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Divided List of Abbreviations
Code: Select all
\documentclass{article}
\usepackage[style=sublistdotted]{glossaries}
\renewcommand*{\glossaryname}{List of Abbreviations}
\makeglossaries
\newglossaryentry{sausages}{name=Sausages,description={\nopostdesc}}
\newglossaryentry{vegetables}{name=Vegetables,description={\nopostdesc}}
\newacronym[parent=sausages]{salami}{Sa}{Salami}
\newacronym[parent=sausages]{ham}{H}{Ham}
\newacronym[parent=vegetables]{salad}{Sal}{Salad}
\begin{document}
First use: \gls{salami}, subsequent use: \gls{salami}.
Abbreviation: \acrshort{salami}, Full: \acrlong{salami}.
No text but add to list of abbreviations: \glsadd{ham}.
Add all entries to the list of abbreviations regardless of whether
they've been used in the text: \glsaddall.
\printglossaries
\end{document}
The glossaries package comes with a guide for beginners as well as the main user manual. There's also an article in the Know How section.
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: Divided List of Abbreviations
looks awesome, i will try this!
Thanks a lot for fast replying
Regards