summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixedsort.tex
blob: a85c7c6b9b5b656da07973ed4d54e0cf12d4c8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\documentclass{article}

\usepackage[symbols,automake]{glossaries-extra}
\usepackage{glossary-mcols}

\makeglossaries[main]

\newglossaryentry{duck}{name=duck,%
  description={a waterbird with webbed feet}}

\newglossaryentry{parrot}{name=parrot,%
  description={mainly tropical bird with bright plumage}}

\newglossaryentry{zebra}{name=zebra,%
  description={black and white striped African wild horse}}

\newglossaryentry{aardvark}{name=aardvark,%
  description={African ant-eating mammal}}

\glsxtrnewsymbol[description={zeta}]{zeta}{$\zeta$}
\glsxtrnewsymbol[description={beta}]{beta}{$\beta$}
\glsxtrnewsymbol[description={alpha}]{alpha}{$\alpha$}
\glsxtrnewsymbol[description={gamma}]{gamma}{$\gamma$}

\begin{document}

General terms: \gls{duck}, \gls{zebra}, \gls{aardvark},
\gls{parrot}.

Symbols: \gls{beta}, \gls{gamma}, \gls{alpha}, \gls{zeta}.

\printglossary[style=mcolindexgroup]
\printnoidxglossary[type=symbols,sort=use,style=index]

\end{document}