diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-01 21:32:20 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-03 17:33:35 +0100 |
commit | b6bebdc03066e513efbbb5ff9424681bbcceff0c (patch) | |
tree | ad58ccc072efbfdeabe4d9b4b20b79acc8fd19b3 /common/90_ref.tex | |
parent | 02b663b21099cdb62cef7b363cae46a56d7aae5f (diff) |
Added a new model, and did some factorisation
Diffstat (limited to 'common/90_ref.tex')
-rwxr-xr-x | common/90_ref.tex | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/90_ref.tex b/common/90_ref.tex new file mode 100755 index 0000000..96edd79 --- /dev/null +++ b/common/90_ref.tex @@ -0,0 +1,35 @@ +\usepackage[ + pdfencoding=auto, + linkbordercolor={0.5 0 0}, + citebordercolor={0 0 0.5}, + urlbordercolor=textsidecolor, + 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}}% +} |