diff --git a/rapport_francais/preambule_rapport_francais.tex b/rapport_francais/preambule_rapport_francais.tex index 8aacce8eaba7ab09f6182ca4c52a1d6d3aa41e08..71933aad3f6d3b59597890b1c23c3195d47d37c2 100644 --- a/rapport_francais/preambule_rapport_francais.tex +++ b/rapport_francais/preambule_rapport_francais.tex @@ -23,10 +23,15 @@ %Line breaks of long URLs in biblatex bibliography http://tex.stackexchange.com/a/134281 \setcounter{biburllcpenalty}{7000} \setcounter{biburlucpenalty}{8000} +% Line break for DOI http://tex.stackexchange.com/a/50958/124910 +\setcounter{biburlnumpenalty}{100} + +% Extra space for numbered titles in table of contents % http://tex.stackexchange.com/a/13691/124910 \usepackage{tocstyle} + % Ajout de la gestion des couleurs % The \usepackage is obvious, but the initialization of additional commands like usenames allows you to use names of the default colors, the same 16 base colors as used in HTML. The dvipsnames allows you access to more colors, another 64, and svgnames allows access to about 150 colors. The initialization of "table" allows colors to be added to tables by placing the color command just before the table. https://en.wikibooks.org/wiki/LaTeX/Colors % @see http://mirrors.ircam.fr/pub/CTAN/macros/latex/contrib/xcolor/xcolor.pdf @@ -35,7 +40,7 @@ \usepackage{textcomp} % Unicode degree symbol ° % Supprime les liens moches et permet le retour à la ligne du ToC -\usepackage[hidelinks,breaklinks]{hyperref} +\PassOptionsToPackage{hyphens}{url}\usepackage[hidelinks,breaklinks]{hyperref} % Définition des marges \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}