clean macros
This commit is contained in:
parent
be4ecd3a77
commit
d367766243
2 changed files with 25 additions and 13 deletions
28
Boites.tex
28
Boites.tex
|
@ -15,16 +15,16 @@
|
||||||
\end{tikzpicture}\end{center}\par
|
\end{tikzpicture}\end{center}\par
|
||||||
}
|
}
|
||||||
|
|
||||||
\NewEnviron{thm}{\par
|
% \NewEnviron{thm}{\par
|
||||||
\begin{center}
|
% \begin{center}
|
||||||
\begin{tikzpicture}
|
% \begin{tikzpicture}
|
||||||
\node [mybox] (box){%
|
% \node [mybox] (box){%
|
||||||
\begin{minipage}{0.8\textwidth}
|
% \begin{minipage}{0.8\textwidth}
|
||||||
\BODY
|
% \BODY
|
||||||
\end{minipage} };
|
% \end{minipage} };
|
||||||
\node[fancytitle, right=10pt] at (box.north west) {\textbf{Théorème}};
|
% \node[fancytitle, right=10pt] at (box.north west) {\textbf{Théorème}};
|
||||||
\end{tikzpicture}\end{center}\par
|
% \end{tikzpicture}\end{center}\par
|
||||||
}
|
%}
|
||||||
|
|
||||||
\usepackage{thmbox}
|
\usepackage{thmbox}
|
||||||
\usepackage{xparse}
|
\usepackage{xparse}
|
||||||
|
@ -37,6 +37,14 @@
|
||||||
\endthmbox\vspace*{.75ex}\end{minipage}\end{center}%
|
\endthmbox\vspace*{.75ex}\end{minipage}\end{center}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\NewDocumentEnvironment{thm}{o}{%
|
||||||
|
\begin{center}\begin{minipage}{0.8\textwidth}
|
||||||
|
\thmbox[M]{\textbf{Théorème \IfNoValueTF{#1}{}{\em (#1)}}}%
|
||||||
|
%\hspace*{-1.5em}%
|
||||||
|
}
|
||||||
|
{%
|
||||||
|
\endthmbox\vspace*{.75ex}\end{minipage}\end{center}%
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
\NewDocumentEnvironment{corol}{o}{%
|
\NewDocumentEnvironment{corol}{o}{%
|
||||||
|
|
|
@ -59,7 +59,11 @@
|
||||||
{#1}\longrightarrow {#2} \\
|
{#1}\longrightarrow {#2} \\
|
||||||
{#3}\longmapsto {#4}
|
{#3}\longmapsto {#4}
|
||||||
\end{array}\right.}
|
\end{array}\right.}
|
||||||
|
\newcommand{\vect}[1]{%
|
||||||
|
\begin{bmatrix}
|
||||||
|
#1
|
||||||
|
\end{bmatrix}
|
||||||
|
}
|
||||||
|
|
||||||
\makeatletter
|
\makeatletter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue