Update 'definition' environnement.
This commit is contained in:
parent
9992f29470
commit
96457ef2c9
|
@ -27,6 +27,7 @@
|
||||||
\RequirePackage{xspace} % Gestion intelligente de l'espace après une commande
|
\RequirePackage{xspace} % Gestion intelligente de l'espace après une commande
|
||||||
\RequirePackage{lmodern} % Police de caractère
|
\RequirePackage{lmodern} % Police de caractère
|
||||||
\RequirePackage{calc} % Syntaxe naturelle pour les calculs
|
\RequirePackage{calc} % Syntaxe naturelle pour les calculs
|
||||||
|
\RequirePackage{framed}
|
||||||
|
|
||||||
|
|
||||||
% Layout Page de garde
|
% Layout Page de garde
|
||||||
|
@ -91,10 +92,38 @@
|
||||||
\setlength\fboxrule{0.75pt}
|
\setlength\fboxrule{0.75pt}
|
||||||
\newcommand{\mybox}[1]{\fbox{$~~~ \displaystyle#1 ~~~$}}
|
\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
|
% Image's first page definition
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\newcommand\BackgroundPic{%
|
\newcommand\BackgroundPic{%
|
||||||
\put(0,0){%
|
\put(0,0){%
|
||||||
\parbox[b][\paperheight]{\paperwidth}{%
|
\parbox[b][\paperheight]{\paperwidth}{%
|
||||||
|
|
Loading…
Reference in New Issue