von habanero » Mo 10. Apr 2023, 23:30
Hallo Leute,
ich habe eine kurze Frage zum Entfernen der alternativen Form aus der ersten Nennung und aus dem Verzeichnis, wobei ich die gerne benutzen wollte, um zw. 'wort' und 'wort+n' zu unterscheiden.
Hier der Link zur Dokumentation des Pakets:
https://ctan.kako-dev.de/macros/latex/contrib/acro/acro-manual.pdf
Unter Abschnitt 8 steht explizit:
As you can see the full form shows both short forms of the acronym. This could be changed by altering the template for the full form, see section 25 on page 38 and section 9 on the next page. The alternative form is also printed in the list of acronyms, see section A on page 58. This can also be changed by altering the template for the list, again see section 25.
Für beide Varianten meines Problems steht hier explizit, dass man es ändern kann.
Ich habe jetzt ein bisschen probiert, weiß aber nicht, wie es funktioniert.
Und wie würde ich denn z.B. das Acronym template 'short' (bzw. die anderen dort genannten templates) von Seite 38 anwenden? Da fehlt mir ein gutes Beispiel.
Meine bisheringen Einstellungen sehen so aus:
\documentclass[a4paper, 11pt]{book}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{verbatim}
\usepackage{acro}
\usepackage{array}
\acsetup{
list / display = used , %all | used
make-links = true ,
pages / display = all, %first | none | all
single = true ,
list/name={Abkürzungsverzeichnis}
}
\DeclareAcronym{nom}{
short = omnom ,
long = omnomnom ,
alt = omnoms ,
%first-style = long-short
}
\begin{document}
\ac{nom} \\
\ac{nom} \\
\aca{nom}
\printacronyms[template=tabular]
\end{document}
Danke schonmal im voraus und viele Grüße
habanero
Hallo Leute,
ich habe eine kurze Frage zum Entfernen der alternativen Form aus der ersten Nennung und aus dem Verzeichnis, wobei ich die gerne benutzen wollte, um zw. 'wort' und 'wort+n' zu unterscheiden.
Hier der Link zur Dokumentation des Pakets:
[url]https://ctan.kako-dev.de/macros/latex/contrib/acro/acro-manual.pdf[/url]
Unter Abschnitt 8 steht explizit:
[quote]As you can see the full form shows both short forms of the acronym. This could be changed by altering the template for the full form, see section 25 on page 38 and section 9 on the next page. The alternative form is also printed in the list of acronyms, see section A on page 58. This can also be changed by altering the template for the list, again see section 25.[/quote]
Für beide Varianten meines Problems steht hier explizit, dass man es ändern kann.
Ich habe jetzt ein bisschen probiert, weiß aber nicht, wie es funktioniert.
Und wie würde ich denn z.B. das Acronym template 'short' (bzw. die anderen dort genannten templates) von Seite 38 anwenden? Da fehlt mir ein gutes Beispiel.
Meine bisheringen Einstellungen sehen so aus:
[code]
\documentclass[a4paper, 11pt]{book}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{verbatim}
\usepackage{acro}
\usepackage{array}
\acsetup{
list / display = used , %all | used
make-links = true ,
pages / display = all, %first | none | all
single = true ,
list/name={Abkürzungsverzeichnis}
}
\DeclareAcronym{nom}{
short = omnom ,
long = omnomnom ,
alt = omnoms ,
%first-style = long-short
}
\begin{document}
\ac{nom} \\
\ac{nom} \\
\aca{nom}
\printacronyms[template=tabular]
\end{document}
[/code]
Danke schonmal im voraus und viele Grüße
habanero