95 lines
2.3 KiB
TeX
95 lines
2.3 KiB
TeX
% Base packages
|
|
\usepackage{fontspec}
|
|
\usepackage{lmodern}
|
|
|
|
% Math packages
|
|
\usepackage{mathtools}
|
|
\usepackage[bold-style=ISO]{unicode-math}
|
|
\usepackage{siunitx}
|
|
|
|
% Tables
|
|
\usepackage{tabu}
|
|
|
|
% Include PDFs
|
|
\usepackage[space]{grffile}
|
|
\usepackage{pdfpages}
|
|
|
|
% Multiple columns on one page
|
|
\usepackage{multicol}
|
|
|
|
% Customise enumerations/lists
|
|
\usepackage{enumitem}
|
|
|
|
% Draw electrical circuits
|
|
% \usepackage[european, siunitx, betterproportions]{circuitikz}
|
|
|
|
% Modify margins
|
|
\usepackage[top=24pt, bottom=24pt, left=12pt, right=12pt, headsep=3pt, headheight=12pt, footskip=11pt]{geometry}
|
|
|
|
% Custom headers
|
|
\usepackage{scrlayer-scrpage}
|
|
|
|
% \usepackage{background}
|
|
% \SetBgScale{1}
|
|
% \SetBgAngle{0}
|
|
% \SetBgColor{blue!30}
|
|
% \SetBgContents{\tikz{\draw[step=1pt, gray, line width=0.05pt] (0, 0) grid (\paperwidth, \paperheight);}}
|
|
|
|
\author{Nathanaël Restori}
|
|
\date{\today}
|
|
|
|
\makeatletter
|
|
\ihead{}
|
|
\chead{\textbf{\@title}}
|
|
\ohead{}
|
|
\ifoot{}
|
|
\cfoot{Par \@author~---~\texttt{nathanael.restori@epfl.ch}}
|
|
\ofoot{}
|
|
\makeatother
|
|
|
|
\setmainfont{XITS}
|
|
\setmathfont{XITS Math}
|
|
|
|
\renewcommand{\bullet}{\circ}
|
|
\newcommand{\nocdot}{ }
|
|
\newcommand{\dif}{\symrm{d}}
|
|
\newcommand{\e}{\mathrm{e}}
|
|
\newcommand{\im}{\mathrm{i}}
|
|
\newcommand{\abs}[1]{\left\lvert#1\right\rvert}
|
|
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
|
|
\newcommand{\comma}{, \quad}
|
|
\newcommand{\cte}{\mathrm{cte}}
|
|
\newcommand{\tq}{\quad \text{ t.q. } \quad}
|
|
% t.q. si ?
|
|
|
|
\belowtabulinesep=0.15em
|
|
|
|
\setlength{\parindent}{0pt}
|
|
\setlength{\parskip}{0pt}
|
|
\setlength{\columnsep}{0pt}
|
|
% \setlength{\delimitershortfall}{-1.0pt}
|
|
|
|
\renewcommand{\baselinestretch}{1.3}
|
|
\renewcommand{\delimiterfactor}{1200}
|
|
|
|
\everymath{\displaystyle}
|
|
|
|
% \let\oldcdot\cdot
|
|
% \let\oldbullet\bullet
|
|
% \let\oldvec\vec
|
|
% \let\olddot\dot
|
|
% \let\oldddot\ddot
|
|
|
|
% \renewcommand{\vec}{\symbf}
|
|
% \renewcommand{\dot}[1]{\frac{\dif #1}{\dif t}}
|
|
% \renewcommand{\ddot}[1]{\frac{\symrm{d^2}#1}{\dif t^2}}
|
|
% \renewcommand{\frac}[2]{#1 / #2}
|
|
|
|
% \textbf{Configurabilité} \newline
|
|
% $ a \oldcdot b $ ou $ a b $ \newline
|
|
% $ \frac{a}{b} $ ou $ a/b $ \newline
|
|
% $ \vec{a} \oldbullet \vec{b} $ ou $ \vec{a} \circ \vec{b} $ \newline
|
|
% $ \oldvec{a} $ ou $ \overrightarrow{a} $ ou $ \symbf{a} $ ou $ \oldvec{\symbf{a}} $ \newline
|
|
% $ \dot{x} $ ou $ \frac{\dif x}{\dif t} $ \newline
|
|
% $ \ddot{x} $ ou $ \frac{\symrm{d^2}x}{\dif t^2} $ \newline
|