Commit 03d8e4c6 authored by Yuxiao Mao's avatar Yuxiao Mao
Browse files

[format] Adjust comments

parent 154036e3
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
\usepackage{aecompl} \usepackage{aecompl}
%%%%%%%% Table of contents for each chapter %%%%%%%% %%%%%%%% Table of contents %%%%%%%%
\setcounter{secnumdepth}{3} \setcounter{secnumdepth}{3}
\setcounter{tocdepth}{2} \setcounter{tocdepth}{2}
% Table of contents for each chapter
\usepackage[nottoc, notlof, notlot]{tocbibind} \usepackage[nottoc, notlof, notlot]{tocbibind}
\usepackage{minitoc} \usepackage{minitoc}
\setcounter{minitocdepth}{2} \setcounter{minitocdepth}{2}
...@@ -35,21 +35,17 @@ ...@@ -35,21 +35,17 @@
\let\minitocORIG\minitoc \let\minitocORIG\minitoc
\renewcommand{\minitoc}{\minitocORIG \vspace{1.5em}} \renewcommand{\minitoc}{\minitocORIG \vspace{1.5em}}
% Glossary / list of abbreviations
%%%%%%%% Glossary / list of abbreviations %%%%%%%% \usepackage[intoc]{nomencl}
\usepackage[intoc]{nomencl} % use nointoc if don't want to put into toc
\iftoggle{ThesisInEnglish}{% \iftoggle{ThesisInEnglish}{%
\renewcommand{\nomname}{Glossary} \renewcommand{\nomname}{Glossary}
}{ % }{ %
\renewcommand{\nomname}{Liste des abréviations} \renewcommand{\nomname}{Liste des abréviations}
} }
\makenomenclature \makenomenclature
%%%%%%%% Image %%%%%%%% %%%%%%%% Image %%%%%%%%
\usepackage{ifpdf} \usepackage{ifpdf}
\ifpdf \ifpdf
...@@ -67,8 +63,8 @@ ...@@ -67,8 +63,8 @@
\usepackage{rotating} % Sideways of figures & tables \usepackage{rotating} % Sideways of figures & tables
\usepackage{tablefootnote} \usepackage{tablefootnote}
%%%%%%%% PDF %%%%%%%%
%%%%%%%% PDF %%%%%%%%
% Links in pdf % Links in pdf
\usepackage{color} \usepackage{color}
\definecolor{linkcol}{rgb}{0,0,0.4} \definecolor{linkcol}{rgb}{0,0,0.4}
...@@ -95,10 +91,7 @@ ...@@ -95,10 +91,7 @@
%%%%%%%% Backref in biblio %%%%%%%% %%%%%%%% Backref in biblio %%%%%%%%
%% Nicer backref links
%% nicer backref links. NOTE: The flag ThesisInEnglish is used to define the
% language in the back references. Read more about it in main.tex
\iftoggle{ThesisInEnglish}{% \iftoggle{ThesisInEnglish}{%
\renewcommand*{\backref}[1]{} \renewcommand*{\backref}[1]{}
\renewcommand*{\backrefalt}[4]{% \renewcommand*{\backrefalt}[4]{%
...@@ -129,21 +122,13 @@ ...@@ -129,21 +122,13 @@
%%%%%%%% Fancy Header %%%%%%%% %%%%%%%% Fancy Header %%%%%%%%
% Fancy Header Style Options % Fancy Header Style Options
\usepackage{fancyhdr} % Fancy Header and Footer \usepackage{fancyhdr} % Fancy Header and Footer
\pagestyle{fancy} % Sets fancy header and footer \pagestyle{fancy} % Sets fancy header and footer
\fancyfoot{} % Delete current footer settings \fancyfoot{} % Delete current footer settings
%\renewcommand{\chaptermark}[1]{ % Lower Case Chapter marker style
% \markboth{\chaptername\ \thechapter.\ #1}}{}} %
%\renewcommand{\sectionmark}[1]{ % Lower case Section marker style
% \markright{\thesection.\ #1}} %
\fancyhead[LE,RO]{\bfseries\thepage} % Page number (boldface) in left on even \fancyhead[LE,RO]{\bfseries\thepage} % Page number (boldface) in left on even
% pages and right on odd pages % pages and right on odd pages
\fancyhead[RE]{\bfseries\nouppercase{\leftmark}} % Chapter in the right on even pages \fancyhead[RE]{\bfseries\nouppercase{\leftmark}} % Chapter in the right on even pages
\fancyhead[LO]{\bfseries\nouppercase{\rightmark}} % Section in the left on odd pages \fancyhead[LO]{\bfseries\nouppercase{\rightmark}} % Section in the left on odd pages
...@@ -160,7 +145,6 @@ ...@@ -160,7 +145,6 @@
} }
%%%%%%%% Clear Header %%%%%%%% %%%%%%%% Clear Header %%%%%%%%
% Clear Header Style on the Last Empty Odd pages % Clear Header Style on the Last Empty Odd pages
\makeatletter \makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else% \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
...@@ -172,7 +156,6 @@ ...@@ -172,7 +156,6 @@
%%%%%%%% Center Page %%%%%%%% %%%%%%%% Center Page %%%%%%%%
% centered page environment (for abstract) % centered page environment (for abstract)
\newenvironment{vcenterpage} \newenvironment{vcenterpage}
{\newpage\vspace*{\fill}\thispagestyle{empty}\renewcommand{\headrulewidth}{0pt}} {\newpage\vspace*{\fill}\thispagestyle{empty}\renewcommand{\headrulewidth}{0pt}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment