TeX - LaTeX Asked on August 9, 2021
I want to get a list of abbreviations where the acronyms have a hyperlink to the list. As far as I understood, the acro package should work with hyperref and do what I want. Unfortunately, my example is not working as I expected. Can anyone tell me how to get a list of abbreviations with working hyperlinks (at best, using the acro package)?
documentclass[12pt,a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage[T1]{fontenc}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{graphicx}
usepackage{acro}
usepackage{hyperref}
DeclareAcronym{cd}{
short = CD ,
long = compact disc
}
begin{document}
section{Test}
ac{cd}
newpage
printacronyms
end{document}
In order to link the acronym to its entry in the list of acronyms, the acro
package offers to make-list
boolean when used in combination with the hyperref
package. Initially, it is set fo false which is why you don't get the hyperlinks in your document.
Thus, adding
acsetup{make-links}
to your preamble will result in the expected hyperlinks.
Correct answer by leandriis on August 9, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP