Commit 3e5af984 authored by Pauline Pommeret's avatar Pauline Pommeret
Browse files

[main.tex] git mv to lib/template

parent 9953c8f4
\documentclass[10pt]{report}
%-% Let's allow some weird symbols
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
%-% Using UK English hyphenation patterns, date format
\usepackage[UKenglish]{babel}
%-% Custom margins, because default are too large
\usepackage[a4paper]{geometry}
\geometry{top=2.4cm, bottom=2.4cm, left=2.5cm, right=2.5cm}
%-% Allowing other fonts
\usepackage{helvet}
\usepackage{courier}
%-% Please uncomment line bellow for other fonts
%\renewcommand{\familydefault}{\sfdefault}
%-% Required to include pictures
\usepackage{graphicx}
%-% The tabularx environment allows the user to choose "X". Columns using this
%-% specifier will be stretched as much as required to make the table fit the
%-% choosen width
%-% \begin{tabularx}{\textwidth}{ |X|X|X|X| }
%-% \end{tabularx}
\usepackage{tabularx}
%-% The array environment deals with column alignment in tables/equations
%-% \begin{array}{col1col2…coln}
%-% item11 & item12 … & item1n\\
%-% item21 & item22 … & item2n\\
%-% itemn1 & itemn2 … & itemnn\\
%-% \end{array}
%-% or
%-% \begin{array}{lcl}
%-% z & = & a \\
%-% & = & a \\
%-% f(x,y,z) & = & x + y + z
%-% \end{array}
\usepackage{array}
%-% Allows the use of unicode charset in maths environment
\usepackage{newunicodechar}
\newunicodechar{·}{\cdot}
%-% AMS = American Mathematical Society
%-% Deal with it.
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%-% St Mary's Road plug-in for asmsymb. Moar maths.
\usepackage{stmaryrd}
%-% Based on amsmaths, makes documents with a lot of maths "prettier".
%-% \[\begin{pmatrix*}[r]
%-% -1 & 3 \\
%-% 2 & -4
%-% \end{pmatrix*}\]
%-% http://mirrors.ircam.fr/pub/CTAN/macros/latex/contrib/mh/mathtools.pdf
\usepackage{mathtools}
%-% Have you ever dreamt of toying with the type settings of the appendix
%-% titles? Here you go. Beware, it's kind of a pain in the ass to handle
%-% properly.
\usepackage[toc,page]{appendix}
%-% http://mirrors.ircam.fr/pub/CTAN/macros/latex/contrib/appendix/appendix.pdf
%-% If you don't want subsections to appear in the ToC, uncomment next line
%\setcounter{tocdepth}{1}
%-% Ceci sert à mettre la pagaille dans les formats, l'aspect, etc dans :
%-% les titres, les entêtes et pieds de page et la table des matières
%-% Those packages are useful if you want to make a mess in the titles,
%-% footers, headers, Toc etc format, font & looks
\usepackage{titlesec}
\usepackage{titleps}
\usepackage{titletoc}
%-% varioref is your BFF if you want to make references such as "on next page",
%-% "on page 42" etc
%-% Use \vref, \vpageref, \vrefrange, \vpagerefrange
\usepackage[english]{varioref}
%-% Units matter, it's better if they are properly written.
%-% Units: \unit[<val>]{<dim>}
%-% Frac units: \unitfrac[<val>]{<num>}{<denom>}
%-% Pretty fracs: \nicefrac[<fontcmd>]{<num>}{<denom>}
\usepackage{units}
%-% Because writting \celsius is great
\usepackage[squaren, Gray, cdot]{SIunits}
%-% To use and define colors
\usepackage[usenames,dvipsnames]{color}
\definecolor{darkred}{rgb}{0.3,0,0}
\definecolor{darkgreen}{rgb}{0,0.3,0}
\definecolor{darkblue}{rgb}{0,0,0.3}
%-% Cross-references are great.
%-% utf-8 in those commands seems to be an issue
\usepackage[colorlinks, pdftex]{hyperref}
\makeatletter
\AtBeginDocument{
\hypersetup{
linkcolor=darkblue,
filecolor=darkgreen,
urlcolor=darkred,
citecolor=darkblue,
pdftitle = {\@title},
pdfauthor = {\@author},
pdfcreator = {PDFLaTeX},
pdfproducer = {PDFLaTeX}
}
}
\makeatother
%-% Let's control \maketitle and \thanks
%-% \pretitle{<text>} \posttitle{<text>}, \preauthor{<text>}, \postauthor{<text>}, \predate{<text>}, postdate{<text>}
\usepackage{titling}
%-% Dreamy: let's write chemical equations and formulas
\usepackage[version=3]{mhchem}
%-% Dreamy: using "Hazard and Precautionary" symbols
\usepackage{hpstatement}
%-% Dreamy: using "Risk and Safety" symbols
\usepackage{rsphrase}
%-% To customize captions in figure and table environments
\usepackage{caption}
%-% Let's customize sub-captions (caption package feature)
\usepackage{subcaption}
%-% To assign numbers to sub-figures and sub-tables
\usepackage{subfloat}
%-% Let's write some algorithms
\usepackage{algpseudocode}
\usepackage[ruled, vlined]{algorithm2e}
%-% Pretty self-explaining
%-% \multirow{"num_rows"}{*}{"content"}
\usepackage{multirow}
%-% One might want to rotate a page
\usepackage{rotating}
%-% Let's customize headers
\usepackage{fancyhdr}
%-% To find out the last page's number (handy in footers)
\usepackage{lastpage}
%-% To toy with headers and footers
\usepackage{extramarks}
%-% self-explanatory
\usepackage{lipsum}
%-% To insert subfiles using the same preambule
%-% In the main document (here): use \subfile{file1} etc
%-% In the subfiles:
%-% \documentclass[main.tex]{subfiles}
%-% \begin{document}
%-% [...]
%-% \end{document}
\usepackage{subfiles}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\date{\today}
\author{$AUTHOR}
\title{$TITLE}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Document start
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% First page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\maketitle
\tableofcontents
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% First part: summary of the training set
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subfile{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Document end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
Markdown is supported
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