
Ich verwende dasacronym
Paket zur Verwaltung meiner Akronyme. Und ich passe die horizontale und vertikale Einrückung der Akronymliste über den setlist
Befehl aus demenumitem
Paket. \ac{MWE}
unten.
\documentclass{article}
\usepackage{enumitem}
\usepackage{acronym}
\begin{document}
\setlist[description]{labelwidth=3cm, itemsep=2cm} % 2 cm is just for illustration purposes
Here comes the acronym list, unfortunately the acronyms are in bold.
% Removing the bolding can be done by inserting the code from
% the "how-to-change-the-format-of-acronyms" solution.
% but then the setlist customizations are ignored
%\renewcommand\acsfont{\normalfont}
%\makeatletter
% ... insert rest of code here
%\makeatother
\begin{acronym}
\acro{ATM}{Asynchronous Transfer Mode}
\acro{MWE}{Minimum Working Example}
\end{acronym}
\end{document}
Die acronym
Pakete fetten das Akronym in der Glossarliste, was ich nicht möchte. Ich habe versucht, die Fettschrift über die Antwort auf die Frage rückgängig zu machenWie ändere ich das Format von Akronymen?, und das funktioniert (nachdem der Bindestrich entfernt wurde). Allerdings setlist
wird meine Anpassung jetzt ignoriert.
Gibt es eine einfache Möglichkeit, die Fettschrift des Akronyms rückgängig zu machen und trotzdem die Benutzerfreundlichkeit derenumitem
Paket?
Antwort1
Ich vermute, dass bei diesem Problem alte Versionen eines Pakets verwendet wurden. FolgendesMWEzeigt, dass die Verwendung
\renewcommand*{\acsfont}[1]{\normalfont#1}
macht das Akronym tatsächlich zu einem \normalfont
:
Code:
\documentclass{article}
\usepackage{enumitem}
\usepackage{acronym}
\setlist[description]{labelwidth=3cm, itemsep=2cm, itemsep=5pt} % 2 cm is just for illustration purposes
\begin{document}
Here comes the acronym list, and the acronyms are in bold:
\begin{acronym}
\acro{ATM}{Asynchronous Transfer Mode}
\acro{MWE}{Minimum Working Example}
\end{acronym}
% Removing the bolding can be done by
\renewcommand*{\acsfont}[1]{\normalfont#1}
Here comes the acronym list again, and now the acronyms are \emph{not} in bold as we applied
\verb|\renewcommand*{\acsfont}[1]{\normalfont#1}|:
\begin{acronym}
\acro{ATM}{Asynchronous Transfer Mode}
\acro{MWE}{Minimum Working Example}
\end{acronym}
\end{document}