blob: 0da681150edcf18239427c66836a23b679d29df9 (
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
|
% This file is public domain
\documentclass{article}
\usepackage[acronym]{glossaries}
% \newdualentry[main options]{label}{short}{long}{description}
\newcommand*{\newdualentry}[5][]{%
\newglossaryentry{main-#2}{name={#4},%
text={#3\protect\glsadd{#2}},%
description={#5},%
#1
}%
\newacronym{#2}{#3\protect\glsadd{main-#2}}{#4}
}
\newdualentry{svm}% label
{SVM}% abbreviation
{support vector machine}% long form
{Statistical pattern recognition technique}% description
\makeglossaries
\begin{document}
\gls{svm}.
\printglossaries
\end{document}
|