Typo
This commit is contained in:
@@ -1,8 +1,3 @@
|
|||||||
% Changes
|
|
||||||
\usepackage[draft, defaultcolor=Blue, xcolor=dvipsnames]{changes} % Track changes
|
|
||||||
\definechangesauthor[color=RawSienna]{CP}
|
|
||||||
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
|
||||||
|
|
||||||
% Images
|
% Images
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{caption}% Point references to the figure not the caption
|
\usepackage{caption}% Point references to the figure not the caption
|
||||||
@@ -15,6 +10,15 @@
|
|||||||
\usepackage{pdflscape}% Landscape pages
|
\usepackage{pdflscape}% Landscape pages
|
||||||
\usepackage{afterpage}% Execute command after the next page break
|
\usepackage{afterpage}% Execute command after the next page break
|
||||||
|
|
||||||
|
% Floatings (images and tables) : less restrictive constraints (https://robjhyndman.com/hyndsight/latex-floats/index.html)
|
||||||
|
\setcounter{topnumber}{2}
|
||||||
|
\setcounter{bottomnumber}{2}
|
||||||
|
\setcounter{totalnumber}{4}
|
||||||
|
\renewcommand{\topfraction}{0.85}
|
||||||
|
\renewcommand{\bottomfraction}{0.85}
|
||||||
|
\renewcommand{\textfraction}{0.15}
|
||||||
|
\renewcommand{\floatpagefraction}{0.7}
|
||||||
|
|
||||||
% Formatting
|
% Formatting
|
||||||
\usepackage[autostyle]{csquotes}% For quotes
|
\usepackage[autostyle]{csquotes}% For quotes
|
||||||
\usepackage[dvipsnames]{xcolor}% More colors
|
\usepackage[dvipsnames]{xcolor}% More colors
|
||||||
@@ -25,6 +29,12 @@
|
|||||||
\usepackage[hang]{footmisc}
|
\usepackage[hang]{footmisc}
|
||||||
\setlength{\footnotemargin}{3mm}% Margin between footnote number and text
|
\setlength{\footnotemargin}{3mm}% Margin between footnote number and text
|
||||||
|
|
||||||
|
% Less hbox/vbox badness messages
|
||||||
|
\hfuzz=20pt
|
||||||
|
\vfuzz=20pt
|
||||||
|
\hbadness=2000
|
||||||
|
\vbadness=\maxdimen
|
||||||
|
|
||||||
% Links
|
% Links
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
%\usepackage{libertinust1math}% Libertinus math font
|
%\usepackage{libertinust1math}% Libertinus math font
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
\usepackage[english]{babel} % Typographical rules
|
\usepackage[main=english,french]{babel}% Typographical rules
|
||||||
\usepackage{microtype}% Micro-typography improvements (slightly more compact, better to read)
|
\usepackage{microtype}% Micro-typography improvements (slightly more compact, better to read)
|
||||||
|
|
||||||
% Fonts: Use sans-serif for sections
|
% Fonts: Use sans-serif for sections
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
% Parts, chapters and sections
|
% Parts, chapters and sections
|
||||||
\NewCommandCopy{\oldchapter}{\chapter}
|
\NewCommandCopy{\oldchapter}{\chapter}
|
||||||
\RenewDocumentCommand{\chapter}{s o m}{% #1 = star (no number), #2 = short title, #3 = title
|
\RenewDocumentCommand{\chapter}{s o m}{% #1 = star, #2 = short title, #3 = title
|
||||||
\IfBooleanTF{#1}{%
|
\IfBooleanTF{#1}{%
|
||||||
\oldchapter*{#3}% Starred chapter
|
\oldchapter*{#3}% Starred chapter
|
||||||
\addcontentsline{toc}{chapter}{#3}% Add to the table of contents
|
\addcontentsline{toc}{chapter}{#3}% Add to the table of contents
|
||||||
@@ -76,9 +76,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
\setlength{\headheight}{14pt}
|
\setlength{\headheight}{14pt}
|
||||||
|
|
||||||
% Less hbox/vbox badness messages
|
|
||||||
\hfuzz=20pt
|
|
||||||
\vfuzz=20pt
|
|
||||||
\hbadness=2000
|
|
||||||
\vbadness=\maxdimen
|
|
||||||
|
|||||||
@@ -13,15 +13,6 @@
|
|||||||
\singlespacing
|
\singlespacing
|
||||||
}{}
|
}{}
|
||||||
|
|
||||||
% Floatings (images and tables) : less restrictive constraints (https://robjhyndman.com/hyndsight/latex-floats/index.html)
|
|
||||||
\setcounter{topnumber}{2}
|
|
||||||
\setcounter{bottomnumber}{2}
|
|
||||||
\setcounter{totalnumber}{4}
|
|
||||||
\renewcommand{\topfraction}{0.85}
|
|
||||||
\renewcommand{\bottomfraction}{0.85}
|
|
||||||
\renewcommand{\textfraction}{0.15}
|
|
||||||
\renewcommand{\floatpagefraction}{0.7}
|
|
||||||
|
|
||||||
% Images
|
% Images
|
||||||
% example: \fig[1]{filename}{Caption}[Additional caption text, not shown in the list of figures]
|
% example: \fig[1]{filename}{Caption}[Additional caption text, not shown in the list of figures]
|
||||||
% reference later with: \figref{filename}
|
% reference later with: \figref{filename}
|
||||||
@@ -141,8 +132,6 @@
|
|||||||
% Local table of contents
|
% Local table of contents
|
||||||
\usepackage{titletoc}
|
\usepackage{titletoc}
|
||||||
\newcommand{\chaptertoc}{% Print the table of contents for the chapter
|
\newcommand{\chaptertoc}{% Print the table of contents for the chapter
|
||||||
%\hypersetup{linkcolor=black}%
|
|
||||||
|
|
||||||
\section*{Contents}% Add a section title
|
\section*{Contents}% Add a section title
|
||||||
\vspace{-1.5em}%
|
\vspace{-1.5em}%
|
||||||
\horizontalrule%
|
\horizontalrule%
|
||||||
@@ -155,3 +144,6 @@
|
|||||||
\horizontalrule%
|
\horizontalrule%
|
||||||
\vspace{2em}%
|
\vspace{2em}%
|
||||||
}
|
}
|
||||||
|
\newcommand{\nochaptertoc}{%
|
||||||
|
\stopcontents%
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user