正如标题所述,使用\acuseall
会给我带来无数消息“LaTeX 警告:标签可能已更改。请重新运行以获取正确的交叉引用”。所以我相信有些地方出了问题。
\documentclass{beamer}
\usepackage{arev}
\usepackage{acro}
\newcommand*{\acro}[3]{\DeclareAcronym{#1}{short=#2,long=#3}}
\acsetup{macros}
\acro{RAT}{RAT}{radio access technology}
\acro{CDMA}{CDMA}{code division multiple access}
\acro{OFDMA}{OFDMA}{orthogonal frequency division multiple access}
\acro{TDMA}{TDMA}{time division multiple access}
\acro{NOMA}{NOMA}{non-orthogonal multiple access}
\begin{document}
% Mark all acronyms as used
\acuseall
%%%%
\section{Spectrum Allocation\slash Trading}
\frame{%
\frametitle{\insertsection: Traditional}%
\framesubtitle{}%
\begin{itemize}
\item \alert{Dedicated licensed spectrum}
\item One operator, \ac{RAT}, etc.
\item Orthogonality between different them, but
\item Shared (e.g., \ac{CDMA}) or orthogonal (e.g., \ac{OFDMA}) between users
\end{itemize}
}
\frame{%
\frametitle{Shared}%
\framesubtitle{}%
\begin{itemize}
\item \alert{Shared licensed spectrum}
\item At least two operators, \acp{RAT}, etc.
\item Shared between them using time slots, i.e., \ac{TDMA}
\item Shared (e.g., \ac{CDMA}), \ac{NOMA}, or orthogonal (e.g., \ac{OFDMA}) between users
\end{itemize}
}
%%%%
%%%%
\frame{\printacronyms}
%%%%
\end{document}
答案1
同样的行为也发生在article
课堂上,所以这似乎是处理时间的问题\acuseall
。
将命令放在前面\begin{document}
似乎可以解决问题。文档可能应该对此进行更清晰的说明。
答案2
该问题已在 1.6 版(2015/02/26)中得到解决,acro
该版本已于昨天发送至 CTAN,并且将很快在 TeX Live 和 MiKTeX 中推出。
\usepackage{acro}[2015/02/26]