diff --git a/ffgTemplate.sty b/ffgTemplate.sty index d9f332b..3e3dedf 100644 --- a/ffgTemplate.sty +++ b/ffgTemplate.sty @@ -27,6 +27,7 @@ \RequirePackage{xspace} % Gestion intelligente de l'espace après une commande \RequirePackage{lmodern} % Police de caractère \RequirePackage{calc} % Syntaxe naturelle pour les calculs +\RequirePackage{framed} % Layout Page de garde @@ -91,10 +92,38 @@ \setlength\fboxrule{0.75pt} \newcommand{\mybox}[1]{\fbox{$~~~ \displaystyle#1 ~~~$}} -\theoremstyle{definition} -\newtheorem*{definition}{Définition} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Redefine Theoreme & Definition +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newtheoremstyle{new_theorem_style} +{\topsep} % space before +{\topsep} % space after +{ + \itshape +} % body font +{} % indent +{\bfseries} % header font +{} % punctuation +{\newline} % after theorem header +{ + \thmname{#1}~\thmnumber{#2}\thmnote{\ -\ #3}\\*[-1.5ex] +}% header specification (empty for default) +\theoremstyle{new_theorem_style} +\newtheorem*{definitionT}{Définition} +\newenvironment{definition} +{ + \begin{leftbar} + \begin{definitionT} + \mbox{}\noindent\ignorespaces}{ + \end{definitionT} + \end{leftbar} +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Image's first page definition +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\BackgroundPic{% \put(0,0){% \parbox[b][\paperheight]{\paperwidth}{%