diff --git a/cours.cls b/cours.cls index c5f3621..50fcfb5 100644 --- a/cours.cls +++ b/cours.cls @@ -77,7 +77,7 @@ {% \baselineskip=2\baselineskip {\LARGE \textsc{Module \@module}}\\ - \baselineskip=0.5\baselineskip + %\baselineskip=0.5\baselineskip } \vspace{1cm}\vfill \@ifundefined{@title} @@ -178,9 +178,9 @@ \endthmbox\vspace*{.75ex}\end{minipage}\end{center}% } -\NewDocumentEnvironment{lemEM}{o}{% +\NewDocumentEnvironment{lemme}{o}{% \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}% } {% @@ -188,5 +188,6 @@ } \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} diff --git a/raccourcis.sty b/raccourcis.sty index 8b8c084..5797307 100755 --- a/raccourcis.sty +++ b/raccourcis.sty @@ -37,7 +37,7 @@ \newcommand{\dd}[2]{\frac{\text{d} #1}{\text{d} #2}} \newcommand{\ddd}[2]{\frac{\text{d}^2 #1}{\text{d} {#2}^2}} \newcommand{\dr}[2]{\frac{\partial #1}{\partial #2}} - +\newcommand{\divv}{\text{div}} % Macros mieux :) \newcommand{\chimie}[1]{$\mathrm{#1}$} \newcommand{\chimiecite}[1]{\[\mathrm{#1}\]}