80 lines
1.8 KiB
Plaintext
80 lines
1.8 KiB
Plaintext
|
\NeedsTeXFormat{LaTeX2e}
|
||
|
|
||
|
\newcommand{\op@annee}{2017-2018}
|
||
|
|
||
|
% extensions
|
||
|
\RequirePackage[utf8x]{inputenc}
|
||
|
\RequirePackage[francais]{babel}
|
||
|
\RequirePackage[T1]{fontenc}
|
||
|
\RequirePackage{amssymb}
|
||
|
\RequirePackage{amsmath}
|
||
|
\RequirePackage{amsfonts}
|
||
|
\RequirePackage{subfig}
|
||
|
\RequirePackage{graphicx}
|
||
|
\RequirePackage{color}
|
||
|
\RequirePackage{gensymb}
|
||
|
\RequirePackage{ifthen, calc}
|
||
|
\RequirePackage{tabularx}
|
||
|
|
||
|
% Symbole euro
|
||
|
\RequirePackage{eurosym}
|
||
|
|
||
|
% Faire des boites
|
||
|
\RequirePackage{fancybox}
|
||
|
|
||
|
% Espaces pour écrire les grands nombres
|
||
|
\RequirePackage[np]{numprint}
|
||
|
|
||
|
% Outils pour les tableaux et les fonctions
|
||
|
\RequirePackage{tkz-tab}
|
||
|
\RequirePackage{tkz-fct}
|
||
|
|
||
|
% Pour gérer les todo
|
||
|
\RequirePackage[french, textsize=small]{todonotes}
|
||
|
|
||
|
% Plusieurs colonnes
|
||
|
\RequirePackage{multicol}
|
||
|
|
||
|
% inteligent import (see https://codeyarns.com/2010/05/27/latex-import-subimport-for-document-organization/)
|
||
|
\RequirePackage{import}
|
||
|
|
||
|
% Lecture des fichiers csv et affichage des csv en table
|
||
|
\RequirePackage{csvsimple}
|
||
|
|
||
|
% Mes racourcis
|
||
|
\RequirePackage{shortcuts}
|
||
|
|
||
|
%Polices
|
||
|
%% l'option nomath fait que la police du mode mathématique n'est pas affectée
|
||
|
\RequirePackage[nomath]{kpfonts}
|
||
|
\renewcommand*\familydefault{\sfdefault}
|
||
|
\RequirePackage[T1]{fontenc}
|
||
|
|
||
|
% Les tableaux
|
||
|
\renewcommand{\arraystretch}{2}
|
||
|
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%
|
||
|
% Environment Exo %
|
||
|
%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
||
|
% Doit disparaitre pour laisser place à exsheet
|
||
|
\newcounter{exo}[section]
|
||
|
\setcounter{exo}{0}
|
||
|
\newenvironment{Exo}[1][0]{%
|
||
|
\addtocounter{exo}{1}
|
||
|
\medskip
|
||
|
\noindent%
|
||
|
\textbf{\color{exercice}{Exercice \theexo}} \hspace{0.5cm} \color{line}\hrulefill \hspace{0.5cm} \color{exercice}
|
||
|
\ifthenelse{\equal{#1}{0}}%
|
||
|
{}%
|
||
|
{#1}
|
||
|
% \ifthenelse{\lengthtest{#1 pt = 1pt}}{#1 point}{#1 points}}%
|
||
|
\par
|
||
|
\medskip
|
||
|
\color{text}
|
||
|
}{\par%
|
||
|
}
|
||
|
|
||
|
\newcommand{\exo}[1]{{\centering \textbf{#1} \par}}
|