diff options
author | Karl Berry <karl@freefriends.org> | 2019-09-28 21:33:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-09-28 21:33:38 +0000 |
commit | ba8f9817d50e9533e8925630f9fe1290be27cf33 (patch) | |
tree | 8e17af362e9114a6f533dcc32f02bb43551d1fdb /Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex | |
parent | ccc34419a1783744295ce86fffaf9138b91d72f7 (diff) |
glossaries (28sep19)
git-svn-id: svn://tug.org/texlive/trunk@52199 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex index 0015f9385a7..4a1fc9a9539 100644 --- a/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex +++ b/Master/texmf-dist/doc/latex/glossaries/samples/sample-dual.tex @@ -1,21 +1,23 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex: { synctex: on } - % arara: makeglossaries - % arara: pdflatex: { synctex: on } +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex: { synctex: on } +% arara: makeglossaries +% arara: pdflatex: { synctex: on } \documentclass{article} \usepackage[acronym]{glossaries} - % \newdualentry[main options]{label}{short}{long}{description} +% \newdualentry[main options]{label}{short}{long}{description} \newcommand*{\newdualentry}[5][]{% + % main entry: \newglossaryentry{main-#2}{name={#4},% text={#3\glsadd{#2}},% description={#5},% - #1 + #1% additional options for main entry }% - \newacronym{#2}{#3\glsadd{main-#2}}{#4} + % abbreviation: + \newacronym{#2}{#3\glsadd{main-#2}}{#4}% } \newdualentry{svm}% label |