首字母缩略词在第一次使用时缩写

首字母缩略词在第一次使用时缩写

我使用 acro 包来显示缩写词并\ac{id}贯穿我的文本。但是,它在第​​一次使用时不会明确显示缩写词,它始终是缩写。

我在 Linux 16.04 上使用 TeXstudio 2.10.8。

我该如何解决?

编辑:我的一段代码:(我把所有包含的库都放进去了,以防您发现一些不兼容的情况)

\documentclass[letterpaper,12pt]{article}
\usepackage{tabularx} % extra features for tabular environment
\usepackage{amsmath}  % improve math presentation
\usepackage{graphicx} % takes care of graphic including machinery
\usepackage[margin=1in,letterpaper]{geometry} % decreases margins
\usepackage{cite} % takes care of citations
\usepackage[final]{hyperref} % adds hyper links inside the generated pdf file
\usepackage[capitalise]{cleveref}
\usepackage{acro}
\usepackage{xcolor} %better colors

\usepackage{tikz}
\usepackage{blindtext}

\usepackage[utf8]{inputenc} %National characters
\usepackage[T1]{fontenc}

\hypersetup{
    colorlinks=true,       % false: boxed links; true: colored links
    linkcolor=blue,        % color of internal links
    citecolor=blue,        % color of links to bibliography
    filecolor=magenta,     % color of file links
    urlcolor=blue         
}

\acsetup{first-style=short}

\DeclareAcronym{test}{
    short = TEST ,
    long  = Example Abbreviation for Test ,
    class = abbrev
}

    \title{\textbf{A Title}}
    \author{Submitted by: Me}
    \date{\today}


\begin{document}

    \maketitle  

    \begin{abstract}
        Some text related to my abbreviation \ac{test}.
    \end{abstract}

\clearpage
\printacronyms[include-classes=abbrev,name=Abbreviations]

\bibliographystyle{IEEEtran}
\bibliography{references}


\end{document}

输出显示缩写库正常工作:

输出显示缩写库正常工作:

相关内容