diff --git a/latex/CoursTD.cls b/latex/CoursTD.cls new file mode 100644 index 0000000..47b2008 --- /dev/null +++ b/latex/CoursTD.cls @@ -0,0 +1,9 @@ +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{CoursTD} +\g@addto@macro\@classoptionslist{,french} +\LoadClass[a4paper,10pt, french, DIV=18]{scrartcl} +\RequirePackage[pass]{geometry} +\def\geometryenonce{\newgeometry{top=16.5mm,bottom=49.5mm,left=30mm,right=30mm}} +\RequirePackage{paquets} +\RequirePackage{inputTD} +\endinput \ No newline at end of file diff --git a/latex/inputTD.sty b/latex/inputTD.sty index a339c86..d4d4d8c 100644 --- a/latex/inputTD.sty +++ b/latex/inputTD.sty @@ -8,7 +8,7 @@ \renewcommand\thesubsection{\thesection.\Alph{subsection}}% \def\resetlevel{[subsection]} } - +\@ifundefined{geometryenonce}{\def\geometryenonce{\relax}} \theoremstyle{plain} \theoremheaderfont{\bfseries} @@ -68,6 +68,7 @@ \ifcase\ys@modecorrige %% 0 \immediate\typeout{Mode enonce} + \geometryenonce \excludecomment{corrige} \excludecomment{comcorrige} \excludecomment{comcorrige*}