Update 'definition' environnement.

This commit is contained in:
Trullemans Gregory 2020-05-25 07:55:35 +02:00
parent 9992f29470
commit 96457ef2c9
1 changed files with 31 additions and 2 deletions

View File

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