굵은 약어를 사용하지 않지만 enumite 패키지를 통해 사용자 정의를 허용하는 방법은 무엇입니까?

굵은 약어를 사용하지 않지만 enumite 패키지를 통해 사용자 정의를 허용하는 방법은 무엇입니까?

나는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

이 문제가 발생했을 때 사용된 패키지의 이전 버전이 있었던 것 같습니다. 다음과 같은MWE사용하는 것을 보여줍니다

\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}

관련 정보