diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-11-06 17:36:31 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-11-06 17:36:31 +0100 |
commit | b4e19b5fbee12741366bcdd41c32154eabf1ec25 (patch) | |
tree | 8b33c894da33b9d2485597afd50d3ccef347084c /pdf/doc.tex | |
parent | 815a22ac9fef705a55be58945c8b3396837f4518 (diff) | |
download | dna-backup-b4e19b5fbee12741366bcdd41c32154eabf1ec25.tar.gz dna-backup-b4e19b5fbee12741366bcdd41c32154eabf1ec25.zip |
add backrefs and move hyperrefs as the last usepackage
Diffstat (limited to 'pdf/doc.tex')
-rw-r--r-- | pdf/doc.tex | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/pdf/doc.tex b/pdf/doc.tex index cf68fd7..fff6414 100644 --- a/pdf/doc.tex +++ b/pdf/doc.tex @@ -35,11 +35,6 @@ emphstyle=\color{identifier}, % sets color for comments } -% Hyperlinks -\usepackage{xurl} % allow word break for url wrapping -\usepackage[hidelinks]{hyperref} % create invisible clickable links -\usepackage{doi} % add links to doi urls - % Appendices \usepackage{appendix} \renewcommand{\appendixname}{Annexe} @@ -71,6 +66,25 @@ % Acronyms \usepackage[printonlyused,footnote]{acronym} +% Hyperlinks +\usepackage{xurl} % allow word break for url wrapping +\usepackage[ + hidelinks, % invisible links + pagebackref=true % linkback to citations from bibliography +]{hyperref} % create clickable links +\usepackage{doi} % add links to doi urls + +% Backrefs in the bibliography for french +\renewcommand{\backrefalt}[4]{ +\ifcase #1 {} + \or \emph{Cité page #2} + \else \emph{Cité pages #2} +\fi +} +% Backref separators for french +\renewcommand{\backreftwosep}{ et~} +\renewcommand{\backreflastsep}{, et~} + % Style \setlength{\parskip}{.3em} % space between paragraphs |