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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[version=3]{acro}
\acsetup{ list/display = all , pages/display = all}
\usepackage{longtable,siunitx}
\DeclareAcronym{ecm}{
short = ECM ,
long = Electro Chemical Machining ,
extra = Elektrochemisches Abtragen
}
\DeclareAcronym{adc}{
short = ADC ,
long = Analog-to-Digital-Converter
}
\DeclareAcronym{edm}{
short = EDM ,
long = Electro Discharge Machining
}
\DeclareAcronym{ecdm}{
short = ECDM ,
long = Electro Chemical Discharge Machining ,
extra = Kombination aus \acs*{ecm} und \acs*{edm}
}
\DeclareAcroProperty{unit}
% "Acronyme" (tatsächlich physikalische Größen) einer speziellen Klasse:
\DeclareAcronym{f}{
short = \ensuremath{f} ,
long = Frequenz ,
unit = \si{\hertz} ,
tag = physics
}
\DeclareAcronym{A}{
short = \ensuremath{A} ,
long = Fläche ,
unit = \si{\metre^2} ,
tag = physics
}
\DeclareAcronym{C}{
short = \ensuremath{C} ,
long = Kapazität ,
unit = \si{\farad} ,
tag = physics
}
\DeclareAcronym{F}{
short = \ensuremath{F} ,
long = Kraft ,
unit = \si{\newton} ,
tag = physics
}
\NewAcroTemplate[list]{physics}{%
\acronymsmapT{%
\AcroAddRow{%
\acrowrite{short}%
&
\acrowrite{unit}%
&
\acrowrite{list}%
&
\acropages
{\acrotranslate{page}\nobreakspace}%
{\acrotranslate{pages}\nobreakspace}%
\tabularnewline
}%
}%
\acroheading
\acropreamble
\par\noindent
\setlength\LTleft{0pt}%
\setlength\LTright{0pt}%
\begin{longtable}{@{}lll@{\extracolsep{\fill}}l@{}}
\AcronymTable
\end{longtable}
}
\begin{document}
erstes Mal: \ac{ecm}
zweites Mal: \ac{ecm}
\ac{F}
% % alle außer der Klasse 'physics' auflisten:
\printacronyms[exclude=physics]%, name=Abkürzungsverzeichnis]
% nur die Klasse 'physics' auflisten:
\printacronyms[template=physics, include=physics]%, name=Formelverzeichnis]
\end{document}
|