Update Style
Signed-off-by: Léopold Clément <leopold.clement@laposte.net>
This commit is contained in:
parent
2f1f53fe90
commit
58eef994c2
1 changed files with 14 additions and 16 deletions
|
@ -3,7 +3,7 @@
|
||||||
% vim: set fenc=utf-8
|
% vim: set fenc=utf-8
|
||||||
%----- Informations générales
|
%----- Informations générales
|
||||||
\NeedsTeXFormat{LaTeX2e}[1999/01/01]
|
\NeedsTeXFormat{LaTeX2e}[1999/01/01]
|
||||||
\ProvidesPackage{centrale}[2019/04/23 v1.0 centrale: standard scientific documents layout for Centrale Lyon - Copyright (C) Bastien Laville, 2019]
|
\ProvidesPackage{ensps}[2019/04/23 v1.0 ensps: standard scientific documents layout for ENS-PS - Copyright (C) Bastien Laville and Leopold Clement, 2020 ]
|
||||||
|
|
||||||
%------------------------------------------ CHARGEMENT DES EXTENSIONS ------------------------------------------%
|
%------------------------------------------ CHARGEMENT DES EXTENSIONS ------------------------------------------%
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
pdffitwindow=false, % window fit to page when opened
|
pdffitwindow=false, % window fit to page when opened
|
||||||
pdfstartview={FitH}, % fits the width of the page to the window
|
pdfstartview={FitH}, % fits the width of the page to the window
|
||||||
pdfnewwindow=true, % links in new PDF window
|
pdfnewwindow=true, % links in new PDF window
|
||||||
pdfcreator={Paquet LaTeX Centrale Lyon (B. Laville) - 2019}}
|
pdfcreator={Paquet LaTeX ENS PS (B. Laville, L.Clement) - 2020}}
|
||||||
\newcommand{\reff}[1]{\textbf{\textcolor{CentraleRed}{\textsc{\ref{#1}}}}} % Pour réaliser des citations potables
|
\newcommand{\reff}[1]{\textbf{\textcolor{ENSBlue}{\textsc{\ref{#1}}}}} % Pour réaliser des citations potables
|
||||||
|
|
||||||
% ------------- Mise en page 2 -------------
|
% ------------- Mise en page 2 -------------
|
||||||
\RequirePackage{graphicx} % Pour importer des images
|
\RequirePackage{graphicx} % Pour importer des images
|
||||||
|
@ -97,23 +97,21 @@
|
||||||
|
|
||||||
%------------------------------------------DÉFINITIONS DES COULEURS------------------------------------------%
|
%------------------------------------------DÉFINITIONS DES COULEURS------------------------------------------%
|
||||||
|
|
||||||
\definecolor{CentraleRed}{rgb}{0.558, 0.09, 0.18}
|
\definecolor{ENSBlue}{RGB}{0, 119, 139}
|
||||||
\definecolor{CentraleGray}{rgb}{0.67, 0.67, 0.67}
|
\definecolor{ENSLightBlue}{RGB}{0, 230, 180}
|
||||||
\definecolor{CentraleGrayEq}{RGB}{66, 66, 66}
|
\definecolor{ENSDarkBlue}{RGB}{10, 50, 80}
|
||||||
\definecolor{CentraleGrayLight}{gray}{0.92}
|
|
||||||
\definecolor{CentraleBlue}{RGB}{0, 67, 89}
|
|
||||||
\definecolor{matlabGreen}{RGB}{28, 172, 0} % Pour le listing des codes
|
\definecolor{matlabGreen}{RGB}{28, 172, 0} % Pour le listing des codes
|
||||||
\definecolor{matlabLilas}{RGB}{170, 55, 241}
|
\definecolor{matlabLilas}{RGB}{170, 55, 241}
|
||||||
|
|
||||||
|
|
||||||
%------------------------------------------SECTIONS, FIGURES ET TABLEAUX------------------------------------------%
|
%------------------------------------------SECTIONS, FIGURES ET TABLEAUX------------------------------------------%
|
||||||
|
|
||||||
\chapterfont{\color{CentraleRed}} % Choisir la couleur des chapitres
|
\chapterfont{\color{ENSBlue}} % Choisir la couleur des chapitres
|
||||||
\sectionfont{\color{CentraleRed}\sffamily} % Choisir la couleur des sections
|
\sectionfont{\color{ENSBlue}\sffamily} % Choisir la couleur des sections
|
||||||
\subsectionfont{\color{CentraleGrayEq}\sffamily\itshape} % Choisir la couleur des sous-sections
|
\subsectionfont{\color{ENSLightBlue}\sffamily\itshape} % Choisir la couleur des sous-sections
|
||||||
\DeclareCaptionFont{CaptionCentrale}{\color{CentraleRed}}
|
\DeclareCaptionFont{CaptionENS}{\color{ENSBlue}}
|
||||||
\captionsetup[table]{labelfont={CaptionCentrale,bf}}
|
\captionsetup[table]{labelfont={CaptionENS,bf}}
|
||||||
\captionsetup[figure]{labelfont={CaptionCentrale,bf}}
|
\captionsetup[figure]{labelfont={CaptionENS,bf}}
|
||||||
\captionsetup[subfigure]{labelfont=bf,textfont=sf}
|
\captionsetup[subfigure]{labelfont=bf,textfont=sf}
|
||||||
|
|
||||||
|
|
||||||
|
@ -121,7 +119,7 @@
|
||||||
|
|
||||||
|
|
||||||
\newenvironment{cadregris}{
|
\newenvironment{cadregris}{
|
||||||
\def\FrameCommand{{\color{CentraleGray}\vrule width 3pt}\colorbox{CentraleGrayLight}}%
|
\def\FrameCommand{{\color{ENSDarkBlue}\vrule width 3pt}\colorbox{ENSLightBlue}}%
|
||||||
\MakeFramed {\advance\hsize-\width \FrameRestore}}%
|
\MakeFramed {\advance\hsize-\width \FrameRestore}}%
|
||||||
{\endMakeFramed}
|
{\endMakeFramed}
|
||||||
|
|
||||||
|
@ -205,7 +203,7 @@
|
||||||
|
|
||||||
%------- Abréviations, langages et programme utiles
|
%------- Abréviations, langages et programme utiles
|
||||||
|
|
||||||
\newcommand{\ecl}{l'École centrale de Lyon}
|
\newcommand{\ens}{l'École normale supérieur Paris-Saclay}
|
||||||
\newcommand{\matlab}{\textsc{Matlab}}
|
\newcommand{\matlab}{\textsc{Matlab}}
|
||||||
\newcommand{\python}{\emph{python}}
|
\newcommand{\python}{\emph{python}}
|
||||||
|
|
Loading…
Reference in a new issue