Commit b854f791 authored by Maxime Bombar's avatar Maxime Bombar

Quelques changements dans les environnements

parent fa3fd279
\usepackage{xcolor}
\usepackage{mdframed}
%% "section" option numbers theorems with respect to the current section
%%
%% 1- Section
......@@ -17,6 +18,7 @@
%% \definecolor{light-gray}{gray}{0.95}
%% \definecolor{mostly-white}{gray}{0.97}
\theoremstyle{definition}
\newmdtheoremenv[%
topline=false,
rightline=false,
......@@ -26,7 +28,7 @@
\newmdtheoremenv[%
topline=false,
rightline=false,
leftline=false,
leftline=true,
bottomline=false]{thm}[default]{Theorem}
\newmdtheoremenv[%
......@@ -54,7 +56,7 @@
leftline=false,
bottomline=false]{rem}[default]{Remark}
\theoremstyle{definition}
\theoremstyle{definition}
\newmdtheoremenv[%
topline=false,
rightline=false,
......@@ -67,6 +69,22 @@
leftline=false,
bottomline=false]{hyp}[default]{Hypothesis}
\newtheoremstyle{note}% name of the style to be used
{\topsep}% measure of space to leave above the theorem. E.g.: 3pt
{\topsep}% measure of space to leave below the theorem. E.g.: 3pt
{}% name of font to use in the body of the theorem
{}% measure of space to indent
{\bf}% name of head font
{}% punctuation between head and body
{.5em}% space after theorem head; " " = normal interword space
{\thmname{#1}\thmnumber{ }:\thmnote{ #3}}% Manually specify head
\theoremstyle{note}
\newmdtheoremenv[%
topline=true,
rightline=true,
leftline=true,
bottomline=true]{Note}[]{Note}
\theoremstyle{plain}
\newtheorem*{notation}{Notation}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment