2021-2022/tools/style/base.sty

90 lines
2.0 KiB
Plaintext
Raw Normal View History

2021-08-23 05:40:35 +00:00
\NeedsTeXFormat{LaTeX2e}
% extensions
2022-01-16 16:28:19 +00:00
%\RequirePackage[utf8x]{inputenc}
2021-08-23 05:40:35 +00:00
\RequirePackage[french]{babel}
2021-08-27 09:34:15 +00:00
%\usepackage[babel=true,kerning=true]{microtype}
2022-01-16 16:28:19 +00:00
%\RequirePackage{amssymb}
%\RequirePackage{amsmath}
%\RequirePackage{amsfonts}
2021-08-23 05:40:35 +00:00
\PassOptionsToPackage{table,usenames,dvipsnames}{xcolor}
\RequirePackage{hyperref}
%\RequirePackage{subfig}
2022-01-15 05:05:43 +00:00
\RequirePackage{fancybox}
2021-08-23 05:40:35 +00:00
\RequirePackage{graphicx}
\graphicspath{{./}{\string~/.Clipart/}}
2022-01-16 16:28:19 +00:00
\RequirePackage{textcomp}
2021-08-23 05:40:35 +00:00
\RequirePackage{gensymb}
\RequirePackage{ifthen, calc}
\RequirePackage{tabularx}
2021-11-18 09:53:08 +00:00
\RequirePackage{tasks}
2021-08-23 05:40:35 +00:00
% Géométrie
\RequirePackage{geometry}
2022-02-25 15:47:36 +00:00
\geometry{left=10mm,
right=10mm,
top=5mm,
bottom=5mm,
includeheadfoot,
headsep=0pt,
footskip=1em,
}
2021-08-23 05:40:35 +00:00
\setlength{\columnsep}{30pt} % default=10pt
\setlength{\columnseprule}{1pt} % default=0pt (no line)
% Symbole euro
\RequirePackage{eurosym}
% Espaces pour écrire les grands nombres
\RequirePackage[np]{numprint}
% Outils pour les tableaux et les fonctions
\RequirePackage{tkz-tab}
\RequirePackage{tkz-fct}
% Pour les block scratch
\RequirePackage{scratch}
% 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
2022-01-16 16:28:19 +00:00
\RequirePackage{kpfonts-otf}
\RequirePackage{fontspec}
\setmainfont{KpSans}
\setsansfont{KpSans}
\setmonofont{KpMono}
% \RequirePackage[nomath]{kpfonts}
% \renewcommand*\familydefault{\sfdefault}
% \RequirePackage[T1]{fontenc}
2021-08-23 05:40:35 +00:00
% Les tableaux
\renewcommand{\arraystretch}{1.5}
\newcolumntype{C}[1]{>{\centering\arraybackslash }b{#1}}
% Figure qui se fondent dans le texte
\RequirePackage{wrapfig}
% Code formating with listing
\RequirePackage{code}
% Write algorithm
\usepackage[linesnumbered, boxed, french]{algorithm2e}
\RequirePackage{enumitem}
\setlist[itemize,1]{label=$\bullet$}