
私はacronym
頭字語を管理するパッケージです。そして、頭字語リストの水平および垂直インデントをsetlist
、enumitem
パッケージ。\ac{MWE}
以下。
\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}
パッケージacronym
は用語集リストの頭字語を太字にしていますが、これは私が望んでいることではありません。質問への回答を通じて太字を解除しようとしました。頭字語の形式を変更するにはどうすればよいですか?、そしてそれは機能します(ダッシュを削除した後)。ただし、今では私のsetlist
カスタマイズは無視されます。
頭字語の太字を解除しながら、利便性を維持する簡単な方法はありますか?enumitem
パッケージ?
答え1
この問題に遭遇したときに、パッケージの古いバージョンが使用されていたのではないかと思います。次のムウェ使用例
\renewcommand*{\acsfont}[1]{\normalfont#1}
実際に、次の頭字語が作成されます\normalfont
。
コード:
\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}