blob: 1883060c470b8d9b96a2925e1ed04fee90a6d00d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
\usepackage[
pdfencoding=auto,
linkbordercolor={0.5 0 0},
citebordercolor={0 0 0.5},
urlbordercolor=sidecolor,
pdfborderstyle={/S/U/W 1}
]{hyperref}
% Remove the underline for the footnotes
\providecommand*{\DUfootnotemark}[3]{%
\hypersetup{pdfborderstyle={/W 0}}%
\raisebox{1em}{\hypertarget{#1}{}}%
\hyperlink{#2}{\textsuperscript{#3}}%
\hypersetup{pdfborderstyle={/S/U/W 1}}%
}
\providecommand{\DUfootnotetext}[4]{%
\begingroup%
\renewcommand{\thefootnote}{%
\protect\hypersetup{pdfborderstyle={/W 0}}%
\protect\raisebox{1em}{\protect\hypertarget{#1}{}}%
\protect\hyperlink{#2}{#3}
\protect\hypersetup{pdfborderstyle={/S/U/W 1}}%
}%
\footnotetext{#4}%
\endgroup%
}
\let\tableofcontentsWithoutRefMarks\tableofcontents
\renewcommand{\tableofcontents}{%
\protect\hypersetup{pdfborderstyle={/W 0}}%
\tableofcontentsWithoutRefMarks
\protect\hypersetup{pdfborderstyle={/S/U/W 1}}%
}
|