summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries-extra/sample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries-extra/sample.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries-extra/sample.tex b/Master/texmf-dist/doc/latex/glossaries-extra/sample.tex
new file mode 100644
index 00000000000..42e2f4d6777
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/glossaries-extra/sample.tex
@@ -0,0 +1,26 @@
+% arara: pdflatex
+% arara: makeglossaries
+% arara: pdflatex
+% arara: pdflatex
+\documentclass{article}
+
+\usepackage[colorlinks]{hyperref}
+\usepackage{glossaries-extra}
+\usepackage{glossary-mcols}
+\setglossarystyle{mcolindex}
+
+\makeglossaries
+
+\loadglsentries{example-glossaries-brief}
+
+\begin{document}
+
+\tableofcontents
+
+\section{Sample}
+
+Entries: \forglsentries{\thislabel}{\gls{\thislabel}. }
+
+\printglossaries
+
+\end{document}