From 58eef994c25f3b412aac9291ae98c4e806303fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9opold=20Cl=C3=A9ment?= Date: Fri, 25 Sep 2020 15:11:00 +0200 Subject: [PATCH] Update Style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Léopold Clément --- centrale.sty => ensps.sty | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) rename centrale.sty => ensps.sty (91%) diff --git a/centrale.sty b/ensps.sty similarity index 91% rename from centrale.sty rename to ensps.sty index 14aa899..6d2b22f 100644 --- a/centrale.sty +++ b/ensps.sty @@ -3,7 +3,7 @@ % vim: set fenc=utf-8 %----- Informations générales \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 ------------------------------------------% @@ -21,8 +21,8 @@ pdffitwindow=false, % window fit to page when opened pdfstartview={FitH}, % fits the width of the page to the window pdfnewwindow=true, % links in new PDF window - pdfcreator={Paquet LaTeX Centrale Lyon (B. Laville) - 2019}} -\newcommand{\reff}[1]{\textbf{\textcolor{CentraleRed}{\textsc{\ref{#1}}}}} % Pour réaliser des citations potables + pdfcreator={Paquet LaTeX ENS PS (B. Laville, L.Clement) - 2020}} +\newcommand{\reff}[1]{\textbf{\textcolor{ENSBlue}{\textsc{\ref{#1}}}}} % Pour réaliser des citations potables % ------------- Mise en page 2 ------------- \RequirePackage{graphicx} % Pour importer des images @@ -97,23 +97,21 @@ %------------------------------------------DÉFINITIONS DES COULEURS------------------------------------------% -\definecolor{CentraleRed}{rgb}{0.558, 0.09, 0.18} -\definecolor{CentraleGray}{rgb}{0.67, 0.67, 0.67} -\definecolor{CentraleGrayEq}{RGB}{66, 66, 66} -\definecolor{CentraleGrayLight}{gray}{0.92} -\definecolor{CentraleBlue}{RGB}{0, 67, 89} +\definecolor{ENSBlue}{RGB}{0, 119, 139} +\definecolor{ENSLightBlue}{RGB}{0, 230, 180} +\definecolor{ENSDarkBlue}{RGB}{10, 50, 80} \definecolor{matlabGreen}{RGB}{28, 172, 0} % Pour le listing des codes \definecolor{matlabLilas}{RGB}{170, 55, 241} %------------------------------------------SECTIONS, FIGURES ET TABLEAUX------------------------------------------% -\chapterfont{\color{CentraleRed}} % Choisir la couleur des chapitres -\sectionfont{\color{CentraleRed}\sffamily} % Choisir la couleur des sections -\subsectionfont{\color{CentraleGrayEq}\sffamily\itshape} % Choisir la couleur des sous-sections -\DeclareCaptionFont{CaptionCentrale}{\color{CentraleRed}} -\captionsetup[table]{labelfont={CaptionCentrale,bf}} -\captionsetup[figure]{labelfont={CaptionCentrale,bf}} +\chapterfont{\color{ENSBlue}} % Choisir la couleur des chapitres +\sectionfont{\color{ENSBlue}\sffamily} % Choisir la couleur des sections +\subsectionfont{\color{ENSLightBlue}\sffamily\itshape} % Choisir la couleur des sous-sections +\DeclareCaptionFont{CaptionENS}{\color{ENSBlue}} +\captionsetup[table]{labelfont={CaptionENS,bf}} +\captionsetup[figure]{labelfont={CaptionENS,bf}} \captionsetup[subfigure]{labelfont=bf,textfont=sf} @@ -121,7 +119,7 @@ \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}}% {\endMakeFramed} @@ -205,7 +203,7 @@ %------- 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{\python}{\emph{python}}