Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuxiao Mao
Thesis Template
Commits
03d8e4c6
Commit
03d8e4c6
authored
Oct 26, 2021
by
Yuxiao Mao
Browse files
[format] Adjust comments
parent
154036e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
FormatAndDefs.tex
View file @
03d8e4c6
...
...
@@ -21,11 +21,11 @@
\usepackage
{
aecompl
}
%%%%%%%% Table of contents for each chapter %%%%%%%%
%%%%%%%% Table of contents %%%%%%%%
\setcounter
{
secnumdepth
}{
3
}
\setcounter
{
tocdepth
}{
2
}
% Table of contents for each chapter
\usepackage
[nottoc, notlof, notlot]
{
tocbibind
}
\usepackage
{
minitoc
}
\setcounter
{
minitocdepth
}{
2
}
...
...
@@ -35,21 +35,17 @@
\let\minitocORIG\minitoc
\renewcommand
{
\minitoc
}{
\minitocORIG
\vspace
{
1.5em
}}
%%%%%%%% Glossary / list of abbreviations %%%%%%%%
\usepackage
[intoc]
{
nomencl
}
% use nointoc if don't want to put into toc
% Glossary / list of abbreviations
\usepackage
[intoc]
{
nomencl
}
\iftoggle
{
ThesisInEnglish
}{
%
\renewcommand
{
\nomname
}{
Glossary
}
}{
%
\renewcommand
{
\nomname
}{
Liste des abréviations
}
}
\makenomenclature
%%%%%%%% Image %%%%%%%%
\usepackage
{
ifpdf
}
\ifpdf
...
...
@@ -67,8 +63,8 @@
\usepackage
{
rotating
}
% Sideways of figures & tables
\usepackage
{
tablefootnote
}
%%%%%%%% PDF %%%%%%%%
%%%%%%%% PDF %%%%%%%%
% Links in pdf
\usepackage
{
color
}
\definecolor
{
linkcol
}{
rgb
}{
0,0,0.4
}
...
...
@@ -95,10 +91,7 @@
%%%%%%%% Backref in biblio %%%%%%%%
%% nicer backref links. NOTE: The flag ThesisInEnglish is used to define the
% language in the back references. Read more about it in main.tex
%% Nicer backref links
\iftoggle
{
ThesisInEnglish
}{
%
\renewcommand*
{
\backref
}
[1]
{}
\renewcommand*
{
\backrefalt
}
[4]
{
%
...
...
@@ -129,21 +122,13 @@
%%%%%%%% Fancy Header %%%%%%%%
% Fancy Header Style Options
\usepackage
{
fancyhdr
}
% Fancy Header and Footer
\usepackage
{
fancyhdr
}
% Fancy Header and Footer
\pagestyle
{
fancy
}
% Sets fancy header and footer
\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
% 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
[LO]
{
\bfseries\nouppercase
{
\rightmark
}}
% Section in the left on odd pages
...
...
@@ -160,7 +145,6 @@
}
%%%%%%%% Clear Header %%%%%%%%
% Clear Header Style on the Last Empty Odd pages
\makeatletter
\def\cleardoublepage
{
\clearpage\if
@twoside
\ifodd\c
@page
\else
%
...
...
@@ -172,7 +156,6 @@
%%%%%%%% Center Page %%%%%%%%
% centered page environment (for abstract)
\newenvironment
{
vcenterpage
}
{
\newpage\vspace*
{
\fill
}
\thispagestyle
{
empty
}
\renewcommand
{
\headrulewidth
}{
0pt
}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment