summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-26 22:52:39 +0000
committerKarl Berry <karl@freefriends.org>2016-01-26 22:52:39 +0000
commit8d88e6714a570bf2b598132718ae2beb4641c80b (patch)
tree6d627fdd2263e73984a523aeaacd6b0aca1c358e /Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex
parent9b9abe02f86c766295512f6699dac2b40de6968c (diff)
glossaries-extra (24jan15)
git-svn-id: svn://tug.org/texlive/trunk@39487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex b/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex
new file mode 100644
index 00000000000..421a5af0bad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/glossaries-extra/sample-mixed-abbrv-styles.tex
@@ -0,0 +1,25 @@
+% arara: pdflatex
+% arara: makeglossaries
+% arara: pdflatex
+\documentclass{article}
+
+\usepackage{glossaries-extra}
+
+\makeglossaries
+
+\setabbreviationstyle[inline]{long-short}
+\setabbreviationstyle[footer]{footnote}
+
+\newabbreviation[category=inline]{html}{HTML}{hypertext markup language}
+
+\newabbreviation[category=footer]{shtml}{SHTML}{server-parsed HTML}
+
+\begin{document}
+
+First use: \gls{shtml} and \gls{html}.
+
+Next use: \gls{shtml} and \gls{html}.
+
+\printglossaries
+
+\end{document}