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{}