This commit is contained in:
parent
62796a1fdc
commit
1768ce1d95
1 changed files with 78 additions and 0 deletions
78
cnam.marc/thesis/topic/settings.tex
Normal file
78
cnam.marc/thesis/topic/settings.tex
Normal file
|
@ -0,0 +1,78 @@
|
|||
% variables
|
||||
\def\first{\ml{First}{Prénom}}
|
||||
\def\last{\ml{LAST}{NOM}}
|
||||
\def\org{\ml{Organization}{Organisme}}
|
||||
\def\role{\ml{Role}{Fonction}}
|
||||
\def\tt{\ml{Title}{Civilité}}
|
||||
|
||||
% acronyms, glossary
|
||||
\usepackage[acronym,toc]{glossaries}
|
||||
\makeglossaries
|
||||
|
||||
% tune table of contents
|
||||
\usepackage{tocloft}
|
||||
\setcounter{secnumdepth}{3}
|
||||
\setcounter{tocdepth}{3}
|
||||
|
||||
% links
|
||||
\hypersetup{
|
||||
pdfinfo={
|
||||
Title={\titlelong\ - \titlesub},
|
||||
Author={\authorlong},
|
||||
Creator={XeLaTeX / report},
|
||||
},
|
||||
colorlinks,
|
||||
citecolor=blue,
|
||||
filecolor=blue,
|
||||
linkcolor=blue,
|
||||
urlcolor=blue,
|
||||
}
|
||||
|
||||
% adjust chapter titles
|
||||
\usepackage{etoolbox}
|
||||
\makeatletter
|
||||
\patchcmd{\@makechapterhead}{50\p@}{0pt}{}{}
|
||||
\patchcmd{\@makeschapterhead}{50\p@}{0pt}{}{}
|
||||
\makeatother
|
||||
|
||||
% set paper geometry
|
||||
\usepackage{geometry}
|
||||
\geometry{a4paper,portrait,top=20mm,bottom=20mm,left=20mm,right=20mm}
|
||||
|
||||
% images
|
||||
\usepackage{graphicx}
|
||||
|
||||
% set fonts
|
||||
\usepackage{fontspec}
|
||||
% set relative sizes
|
||||
\usepackage{relsize}
|
||||
\setlength{\parindent}{0em}
|
||||
\setlength{\parskip}{1em}
|
||||
\setmainfont{DejaVu Sans}
|
||||
\setmonofont{DejaVu Sans Mono}
|
||||
|
||||
% set spacings
|
||||
\usepackage{setspace}
|
||||
|
||||
% lists of figures, tables
|
||||
\usepackage{tocbibind}
|
||||
|
||||
% references after polyglossia
|
||||
\usepackage[sorting=anyt]{biblatex}
|
||||
\bibliography{\name}
|
||||
|
||||
% commands
|
||||
|
||||
\newcommand{\cnam}{\includegraphics[height=1in]{../../cnam}}
|
||||
|
||||
\newcommand{\hr}{\rule{\textwidth}{1pt}}
|
||||
|
||||
\newcommand{\hrq}{\rule{.25\textwidth}{1pt}}
|
||||
|
||||
% environments
|
||||
|
||||
\newenvironment{itmz}{\begin{itemize}
|
||||
%\setlength{\itemsep}{0em}
|
||||
%\setlength{\parsep}{0em}
|
||||
%\setlength{\parskip}{0em}
|
||||
}{\end{itemize}}
|
Loading…
Add table
Add a link
Reference in a new issue