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

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .