mise en page des environnements

This commit is contained in:
Pierre-antoine Comby 2019-01-28 13:09:26 +01:00
parent 68b65a3fa8
commit 91d9642782
2 changed files with 6 additions and 5 deletions

View file

@ -77,7 +77,7 @@
{% {%
\baselineskip=2\baselineskip \baselineskip=2\baselineskip
{\LARGE \textsc{Module \@module}}\\ {\LARGE \textsc{Module \@module}}\\
\baselineskip=0.5\baselineskip %\baselineskip=0.5\baselineskip
} }
\vspace{1cm}\vfill \vspace{1cm}\vfill
\@ifundefined{@title} \@ifundefined{@title}
@ -178,9 +178,9 @@
\endthmbox\vspace*{.75ex}\end{minipage}\end{center}% \endthmbox\vspace*{.75ex}\end{minipage}\end{center}%
} }
\NewDocumentEnvironment{lemEM}{o}{% \NewDocumentEnvironment{lemme}{o}{%
\begin{center}\begin{minipage}{0.8\textwidth} \begin{center}\begin{minipage}{0.8\textwidth}
\thmbox[M]{\textbf{Lemme ergodique maximal \IfNoValueTF{#1}{}{\em (#1)}}}% \thmbox[M]{\textbf{Lemme \IfNoValueTF{#1}{}{\em (#1)}}}%
%\hspace*{-1.5em}% %\hspace*{-1.5em}%
} }
{% {%
@ -188,5 +188,6 @@
} }
\newenvironment{rem}{\par\textbf{Remarque: }\nopagebreak}{\par} \newenvironment{rem}{\par\textbf{Remarque: }\nopagebreak}{\par}
\newenvironment{exemple}{\par\textbf{Exemple: }\nopagebreak}{\par} \newenvironment{exemple}[1][\unskip]{\par\textbf{Exemple: }\textit{#1}
\nopagebreak}{\par}
\newenvironment{preuve}{\par\textit{Démonstration: }\nopagebreak}{\par} \newenvironment{preuve}{\par\textit{Démonstration: }\nopagebreak}{\par}

View file

@ -37,7 +37,7 @@
\newcommand{\dd}[2]{\frac{\text{d} #1}{\text{d} #2}} \newcommand{\dd}[2]{\frac{\text{d} #1}{\text{d} #2}}
\newcommand{\ddd}[2]{\frac{\text{d}^2 #1}{\text{d} {#2}^2}} \newcommand{\ddd}[2]{\frac{\text{d}^2 #1}{\text{d} {#2}^2}}
\newcommand{\dr}[2]{\frac{\partial #1}{\partial #2}} \newcommand{\dr}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\divv}{\text{div}}
% Macros mieux :) % Macros mieux :)
\newcommand{\chimie}[1]{$\mathrm{#1}$} \newcommand{\chimie}[1]{$\mathrm{#1}$}
\newcommand{\chimiecite}[1]{\[\mathrm{#1}\]} \newcommand{\chimiecite}[1]{\[\mathrm{#1}\]}