首字母缩略词产生异常间距

首字母缩略词产生异常间距

我正在使用缩写包,但我刚刚意识到它在间距方面存在一些问题。这是最新版本(2012)。每次缩写开始新的一行时,在上一行的末尾都会有一个小的空白,这让我很烦!

我怎样才能解决这个问题?

\documentclass[a4paper,11pt,twoside,openright]{book}
\usepackage[utf8]{inputenc}
\usepackage[italian,english]{babel}
\usepackage[T1]{fontenc}
\usepackage[artemisia]{textgreek}
\usepackage{acronym}
\usepackage[version-1-compatibility,group-separator={,}]{siunitx}
\usepackage[unicode,colorlinks=true]{hyperref}

\begin{document}

Just after (less than \SI{5}{\minute}) exogenous stimuli on a preadipocyte, \ac{CREB} is phosphorylated and 
increase expression of \ac{CEBP}, in particular the two isoforms
\ac{CEBPb} and \ac{CEBPd}. This two transcription factors are inactive, this means that they are not able 
to bind DNA, and thus they accumulate in the cytosol. 
During the passage from G1 to S phase of cell cycle, \ac{CEBPb} is hyperphosphorylated and activated by
\ac{GSK3b} and \ac{MAPK}. Phosphorylation allow \ac{CEBPb} to homodimerize and to bind DNA, starting
mitotic clonal expansion of preadipocyte.
Subsequently \ac{CEBPb} and \ac{CEBPd} induce expression of \ac{CEBPa} and \ac{PPARg},
the two main transcription factor for adipocyte development.\ac{PPARg} dimerize with \ac{RXR}, thus being activated. 
Once both \ac{PPARg} and \ac{CEBPa} are activated they regulate each other, maintaining high expression 
levels and decreasing the ones of \ac{CEBPb} and \ac{CEBPd} (see \figurename{} 
\ref{img:cebps}).


\begin{acronym}[AAAAAA]
\acro{CEBP}[C/EBP]{CCAAT/enhancer binding protein}
\acro{CEBPa}[C/EBP\textalpha]{CCAAT/\-en\-hanc\-er binding protein alpha}
\acro{CEBPb}[C/EBP\textbeta]{CCAAT/\-en\-hanc\-er binding protein beta}
\acro{CEBPd}[C/EBP\textdelta]{CCAAT/\-en\-hanc\-er binding protein delta}
\acro{PPARg}[PPAR\textgamma]{peroxisome pro\-life\-rator-activated receptor gamma}
\acro{MSC}{mesenchimal stem cell}
\acro{RXR}{retinoid X receptor}
\acro{GSK3b}[GSK3\textbeta]{glycogen synthase kinase-3 beta}
\acro{MAPK}{mitogen-activated protein kinase}
\acro{CREB}{cyclic AMP response element-binding protein}
\end{acronym}

\end{document}

右边距问题

答案1

来自评论:

似乎在 v1.37 中将的定义acronym引入为“修复长格式中第一个单词未连字符的问题”。这似乎是造成虚假空格的原因。事实上,通过以下方式删除它\hskip\z@\@acf

\usepackage{etoolbox}
\makeatletter
\patchcmd\@acf{\hskip\z@}{}{}{}
\patchcmd\@acf{\hskip\z@}{}{}{}
\makeatother

再次给出正确的输出。需要\hskip\z@删除两次,因为第一个用于长格式的脚注版本,而默认外观中只使用第二个:

% definition of \@acf in v1.38:
\newcommand*{\@acf}[1]{%
    \ifAC@footnote
       \acsfont{\AC@acs{#1}}%
       \footnote{\AC@placelabel{#1}\hskip\z@\AC@acl{#1}{}}%
    \else
       \acffont{%
          \AC@placelabel{#1}\hskip\z@\AC@acl{#1}%
          \nolinebreak[3] %
          \acfsfont{(\acsfont{\AC@acs{#1}})}%
        }%
     \fi
     \ifAC@starred\else\AC@logged{#1}\fi}

您可能希望以\@acfp相同的方式对待 - 它包含相同的两个实例\hskip\z@

相关内容