我正在使用 acro 包在目录中打印首字母缩略词列表。但是,当我使用 \ac 到列表中的相应首字母缩略词时,我还想将内容中的单词链接到列表中。我该怎么做?但我并不想在列表中显示页码。以下是我的代码:
\documentclass[12pt,twoside]{report}
\usepackage{acro,hyperref}
\usepackage[utf8]{inputenc}
\usepackage{dcolumn} %% Chapter 2, format D{}{}{}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\DeclareUnicodeCharacter{2061}{}
\usepackage[nottoc,notlot,notlof]{tocbibind}
\acsetup{make-links=true}
\acsetup{list/display=all}
%Adding my tex file with my list of acronyms
\DeclareAcronym{NOC}
{class = A,
long=National Oil Company,
short={NOC}
}
\DeclareAcronym{PDVSA}
{class = A,
long=Petróleos de Venezuela Sociedad Anónima,
short=PDVSA
}
\DeclareAcronym{YPFB}
{class = A,
long=Yacimientos Petrolíferos Fiscales Bolivanos,
short={YPFB}
}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{List of Acronyms}
\printacronyms[include-classes=A,name=List of Acronyms,heading=chapter*, template=toc,display=all,sort=true]
\chapter{National Oil Companies}
The Bolivian \ac{NOC}, \ac{YPFB}, has played a supervisory role in the industry. In contrast, Venezuela's \ac{PDVSA} plays a direct role in the exploitation of its oil fields.
\end{document}