12345678910111213141516171819202122232425262728293031323334353637383940 |
- \documentclass[a4paper,12pt]{article}
- \usepackage[toc,nonumberlist,numberedsection=autolabel]{glossaries}
- \title{A Test Document Using Glossaries For Waf Construction}
- \author{Joe Steeve}
- \makeglossaries
- \begin{document}
- \maketitle
- \tableofcontents
- \glossarystyle{altlist}
- %% The glossary entries
- \newglossaryentry{african}
- {
- name={african},
- description={The West African Swallow, Hirundo domicella}
- }
- \newglossaryentry{european}
- {
- name={european},
- description={The Barn or European Swallow, Hirundo rustica}
- }
- \section{The story}
- \begin{description}
- \item[Bridgekeeper:] What... is the air-speed velocity of an unladen
- swallow?
- \item[King Arthur:] What do you mean? An \gls{african} or \gls{european} swallow?
- \end{description}
- %% This is the Glossary section
- \glsaddall
- \printglossaries
- \end{document}
|