Feat: ajout environnement definition
This commit is contained in:
parent
ad8d413ffc
commit
322a0aa936
@ -351,10 +351,24 @@
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
% Environnements théoreme, définition ...
|
% Environnements théoreme, définition ...
|
||||||
|
\newenvironment{encadre}[1]
|
||||||
|
{
|
||||||
|
\begin{bclogo}[barre=none, arrondi=0.1, logo=]{#1}
|
||||||
|
}{
|
||||||
|
\end{bclogo}
|
||||||
|
}
|
||||||
|
|
||||||
\newcounter{doc}
|
\newcounter{doc}
|
||||||
\newenvironment{doc}[1]
|
\newenvironment{doc}[1]
|
||||||
{\refstepcounter{doc}
|
{\refstepcounter{doc}
|
||||||
\begin{bclogo}[barre=none, arrondi=0.1, logo=]{Document \thedoc: #1}
|
\begin{encadre}{Document \thedoc: #1}
|
||||||
}{
|
}{
|
||||||
\end{bclogo}
|
\end{encadre}
|
||||||
|
}
|
||||||
|
|
||||||
|
\newenvironment{definition}
|
||||||
|
{
|
||||||
|
\begin{encadre}{Définition}
|
||||||
|
}{
|
||||||
|
\end{encadre}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user