blob: c44358073ebcd0b24e3344325256789fb51677a9 (
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
36
37
38
39
|
\documentclass{article}
\usepackage{acro}
\DeclareAcroArticle{definite}{the}
\DeclareAcroEnding{possessive}{'s}{'s}
\NewAcroCommand\dac{m}{\acrodefinite\UseAcroTemplate{first}{#1}}
\NewAcroCommand\Dac{m}{\acroupper\acrodefinite\UseAcroTemplate{first}{#1}}
\NewAcroCommand\Dacg{m}{%
\acroupper
\acrodefinite
\acropossessive
\UseAcroTemplate{first}{#1}%
}
\DeclareAcronym{css}{
short = CSS ,
long = Centre for Spaghetti Studies ,
short-definite = \nospace ,
long-possessive = '
}
\begin{document}
Bob hails from \dac{css}. \par
Bob hails from \dac{css}.
\acreset{css}
\Dacg{css} mandate is broad. \par
\Dacg{css} mandate is broad.
\acreset{css}
\Dac{css} scientists eat well. \par
\Dac{css} scientists eat well. \par
\end{document}
|