Add environment for exercises
This commit is contained in:
parent
903c983c40
commit
4e66c4353d
@ -259,7 +259,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
% exercice
|
% exercice
|
||||||
\newtheoremstyle{@exe}
|
\newtheoremstyle{@exo1}
|
||||||
{\topsep}% espace avant
|
{\topsep}% espace avant
|
||||||
{\topsep}% espace apres
|
{\topsep}% espace apres
|
||||||
{}% Police utilisee par le style de thm
|
{}% Police utilisee par le style de thm
|
||||||
@ -270,6 +270,23 @@
|
|||||||
{\thmname{#1}\thmnumber{ #2}\thmnote{ - \normalfont{\textit{#3}}}}
|
{\thmname{#1}\thmnumber{ #2}\thmnote{ - \normalfont{\textit{#3}}}}
|
||||||
% composants du titre du thm : \thmname = nom, \thmnumber = numéro, \thmnote = sous-titre
|
% composants du titre du thm : \thmname = nom, \thmnumber = numéro, \thmnote = sous-titre
|
||||||
|
|
||||||
\theoremstyle{@exe}
|
\theoremstyle{@exo1}
|
||||||
\newtheorem{exercice}{Exercice}
|
\newtheorem{exercice1}{Exercice}
|
||||||
|
|
||||||
|
% exercice
|
||||||
|
\newtheoremstyle{@exo2}
|
||||||
|
{\topsep}% espace avant
|
||||||
|
{\topsep}% espace apres
|
||||||
|
{}% Police utilisee par le style de thm
|
||||||
|
{}% Indentation (vide = aucune, \parindent = indentation paragraphe)
|
||||||
|
{\bfseries}% Police du titre de thm
|
||||||
|
{}% Signe de ponctuation apres le titre du thm
|
||||||
|
{\newline}% Espace apres le titre du thm (\newline = linebreak)
|
||||||
|
{\thmname{#1}\thmnote{ - \normalfont{\textit{#2}}}}
|
||||||
|
% composants du titre du thm : \thmname = nom, \thmnumber = numéro, \thmnote = sous-titre
|
||||||
|
|
||||||
|
\theoremstyle{@exo2}
|
||||||
|
\newtheorem*{exercice2}{Exercice}
|
||||||
|
|
||||||
|
\counterwithin*{exercice1}{section}
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user