blob: 0b7f30379ba9c548c905292f4233a828edf81ee0 (
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
|
% This file is embedded in glossaries-extra-manual.pdf
% Example 6 Tagging abbreviation initials
% Label: "ex:tagging"
% 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}
|