diff options
Diffstat (limited to 'macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example006.tex')
-rw-r--r-- | macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example006.tex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example006.tex b/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example006.tex new file mode 100644 index 0000000000..0a87f40585 --- /dev/null +++ b/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example006.tex @@ -0,0 +1,30 @@ +% This file is embedded in glossaries-extra-manual.pdf +% Example 6 Tagging abbreviation initials +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex +% arara: pdfcrop +\documentclass[12pt]{article} +\pagestyle{empty} +\usepackage{glossaries-extra} +\makeglossaries +\GlsXtrEnableInitialTagging{acronym,abbreviation}{\itag} +\setabbreviationstyle[acronym]{short-nolong-desc} +\newacronym +[description={a system for detecting the location and speed of ships, aircraft, etc, through the use of radio waves}% description of this term + ] + {radar}% identifying label + {radar}% short form + {\itag{ra}dio \itag{d}etection \itag{a}nd \itag{r}anging} + +\newabbreviation{xml}{XML} + {e\itag{x}tensible \itag{m}arkup \itag{l}anguage} + +\newabbreviation[category={other}]{tne}{TNE} + {\itag{t}agging \itag{n}ot \itag{e}nabled} +\begin{document} +First use: \gls{radar}, \gls{xml}, \gls{tne}. + +Long form only: \glsxtrlong{radar}, \glsxtrlong{xml}, \glsxtrlong{tne}. +\printglossaries +\end{document} |