From d9c7d18f97a5510b76477d33ee7205937c603206 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 30 Aug 2017 11:31:42 +0300 Subject: [PATCH] Marges, header dans les styles --- tools/style/base.sty | 5 +++++ tools/style/myXsim.sty | 1 + tools/style/myhdr.sty | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/style/base.sty b/tools/style/base.sty index f8d2896..0565651 100755 --- a/tools/style/base.sty +++ b/tools/style/base.sty @@ -15,6 +15,11 @@ \RequirePackage{gensymb} \RequirePackage{ifthen, calc} \RequirePackage{tabularx} +\RequirePackage{enumitem} + +% Marges des pages +\RequirePackage{geometry} +\geometry{left=10mm,right=10mm, top=10mm} % Symbole euro \RequirePackage{eurosym} diff --git a/tools/style/myXsim.sty b/tools/style/myXsim.sty index 9c0629c..3638100 100644 --- a/tools/style/myXsim.sty +++ b/tools/style/myXsim.sty @@ -44,6 +44,7 @@ \GetExercisePropertyT{subtitle} {{\PropertyValue}}% }% + \noindent } }{} \xsimsetup{exercise/template=exo} diff --git a/tools/style/myhdr.sty b/tools/style/myhdr.sty index c429dad..5ded0ef 100644 --- a/tools/style/myhdr.sty +++ b/tools/style/myhdr.sty @@ -74,7 +74,7 @@ \renewcommand{\footrulewidth}{0pt} \newcommand{\op@boiteentete}{\makebox[0pt][l]{\hspace*{-3ex}% - \color{bgentete}\rule[-0.8ex]{\textwidth+5ex}{3ex}% + \color{bgentete}\rule[-0.8ex]{\textwidth-5ex}{3ex}% }} \lhead{\scriptsize\op@boiteentete \@title} \chead{}