有人能帮我把首字母缩略词居中吗(不像这个例子那样左对齐)?我试过了,\begin{center}
但做不到。这是我的 MWE:
\documentclass{article}
\usepackage[colorlinks]{hyperref}
\usepackage[printonlyused]{acronym}
\begin{document}
\section{Intro}
In the early nineties, \acs{GSM} was deployed in many European
countries. \ac{GSM} offered for the first time international
roaming for mobile subscribers. The \acs{GSM}'s use of \ac{TDMA} as
its communication standard was debated at length. And every now
and then there are big discussion whether \ac{CDMA} should have
been chosen over \ac{TDMA}.
\section{Acronyms}
\begin{acronym}[TDMA]
\acro{CDMA}{Code Division Multiple Access}
\acro{GSM}{Global System for Mobile communication}
\acro{NA}[\ensuremath{N_{\mathrm A}}]{Number of Avogadro\acroextra{ (see \S\ref{Chem})}}
\acro{NAD+}[NAD\textsuperscript{+}]{Nicotinamide Adenine Dinucleotide}
\acro{NUA}{Not Used Acronym}
\acro{TDMA}{Time Division Multiple Access}
\acro{UA}{Used Acronym}
\acro{lox}[\ensuremath{LOX}]{Liquid Oxygen}%
\acro{lh2}[\ensuremath{LH_2}]{Liquid Hydrogen}%
\acro{IC}{Integrated Circuit}%
\acro{BUT}{Block Under Test}%
\acrodefplural{BUT}{Blocks Under Test}%
\end{acronym}
\end{document}
答案1
我认为“居中”这个词在这里有些含糊。按照其传统意义,居中会导致左侧的粗体缩写彼此错位,并且每行的边距宽度可能完全不同。
在我看来,这几乎不可能读懂,所以也许我可以冒昧地建议,我们寻求的是页边距的对称缩进。这样,缩写词本身就会保持对齐,以便于阅读。但整个区块将居中并缩进。
为此,我只需acronym
通过添加行来更改块内的边距\leftskip=1in\relax\rightskip=1in\relax
。
以下是 MWE:
\documentclass{article}
\usepackage[colorlinks]{hyperref}
\usepackage[printonlyused]{acronym}
\begin{document}
\section{Intro}
In the early nineties, \acs{GSM} was deployed in many European
countries. \ac{GSM} offered for the first time international
roaming for mobile subscribers. The \acs{GSM}'s use of \ac{TDMA} as
its communication standard was debated at length. And every now
and then there are big discussion whether \ac{CDMA} should have
been chosen over \ac{TDMA}.
\section{Acronyms}
\begin{acronym}[TDMA]
\leftskip=1in\relax\rightskip=1in\relax
\acro{CDMA}{Code Division Multiple Access}
\acro{GSM}{Global System for Mobile communication}
\acro{NA}[\ensuremath{N_{\mathrm A}}]{Number of Avogadro\acroextra{ (see \S\ref{Chem})}}
\acro{NAD+}[NAD\textsuperscript{+}]{Nicotinamide Adenine Dinucleotide}
\acro{NUA}{Not Used Acronym}
\acro{TDMA}{Time Division Multiple Access}
\acro{UA}{Used Acronym}
\acro{lox}[\ensuremath{LOX}]{Liquid Oxygen}%
\acro{lh2}[\ensuremath{LH_2}]{Liquid Hydrogen}%
\acro{IC}{Integrated Circuit}%
\acro{BUT}{Block Under Test}%
\acrodefplural{BUT}{Blocks Under Test}%
\end{acronym}
\section{Blah}
Continued
\end{document}