% This file is embedded in glossaries-user.pdf
% Example 3 Simple document that uses TeX\ to sort entries
% arara: pdflatex
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[style=indexgroup]{glossaries}
\makenoidxglossaries % use TeX to sort
 \newglossaryentry{parrot}{name={parrot},
 description={a brightly coloured tropical bird}}
\newglossaryentry{duck}{name={duck},
 description={a waterbird}}
\newglossaryentry{puffin}{name={puffin},
 description={a seabird with a brightly coloured bill}}
\newglossaryentry{penguin}{name={penguin},
 description={a flightless black and white seabird}}
% a symbol:
 \newglossaryentry{alpha}{name={\ensuremath{\alpha}},
 sort={alpha},description={a variable}}
% an acronym:
 \setacronymstyle{short-long}
 \newacronym{arpanet}{ARPANET}{Advanced Research Projects Agency Network} 
\begin{document}
\Gls{puffin}, \gls{duck} and \gls{parrot}.
\gls{arpanet} and \gls{alpha}.
Next use: \gls{arpanet}.
\printnoidxglossary 
\end{document}
