From 2236ef5d691749745e6716ab4ac43f54e1ff0ed5 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 21 Aug 2017 17:26:22 +0200 Subject: [PATCH] Update. --- cours/cours_prof.cls | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/cours/cours_prof.cls b/cours/cours_prof.cls index 8f58a1d..c375314 100644 --- a/cours/cours_prof.cls +++ b/cours/cours_prof.cls @@ -434,6 +434,16 @@ \end{thm*} } +\RenewDocumentEnvironment{thmn}{ o } {%begin + \IfNoValueTF {#1} { + \begin{thmn*} + }{ + \begin{thmn*}[#1] + } +}{%end + \end{thmn*} +} + \RenewDocumentEnvironment{ppt}{ o } {%begin \IfNoValueTF {#1} { \begin{ppt*} @@ -454,6 +464,26 @@ \end{pptn*} } +\RenewDocumentEnvironment{pre}{ o } {%begin + \IfNoValueTF {#1} { + \begin{pre*} + }{ + \begin{pre*}[#1] + } +}{%end + \end{pre*} +} + +\RenewDocumentEnvironment{pren}{ o } {%begin + \IfNoValueTF {#1} { + \begin{pren*} + }{ + \begin{pren*}[#1] + } +}{%end + \end{pren*} +} + \RenewDocumentEnvironment{exe}{ o } {%begin \IfNoValueTF {#1} { \begin{exe*}