0

I am trying to change the acronym link colours in classicthesis to black but leave other links their default colours. I have tried the solution listed here: Acronym hyperlink without special color

However when I try that solution (see below), the document no longer compiles

\AtBeginDocument{% \renewcommand*{\AC@hyperlink}[2]{% \begingroup \hypersetup{hidelinks}% \hyperlink{#1}{#2}% \endgroup }% }

I get the error:

Undefined control sequence. (\hypersetup ...)

0

Adding the following to the main file, just before /begin{document} works

% adjust colour of acronyms
\makeatletter
\AtBeginDocument{%
  \renewcommand*{\AC@hyperlink}[2]{%
    \begingroup
      \hypersetup{hidelinks}%
      \hyperlink{#1}{#2}%
    \endgroup
  }%
}
\makeatother

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.