This commit is contained in:
Jeff Lance 2020-04-18 16:18:29 +02:00
parent 9d1aa56d14
commit d0155f40c3
4 changed files with 25 additions and 19 deletions

View File

@ -114,6 +114,7 @@
\RequirePackage{inconsolata} \RequirePackage{inconsolata}
\RequirePackage{tasks} \RequirePackage{tasks}
\RequirePackage{dashrule} \RequirePackage{dashrule}
\RequirePackage{qrcode}
% \RequirePackage[french]{algorithme} % \RequirePackage[french]{algorithme}
%-- %--
@ -142,6 +143,11 @@
output-decimal-marker={,}, output-decimal-marker={,},
inter-unit-product={\ensuremath{ { } \cdot { } }}, inter-unit-product={\ensuremath{ { } \cdot { } }},
} }
% caption
\captionsetup{font=small}
\captionsetup[figure]{labelfont=bf, textfont=it, name=Figure}
\captionsetup[table]{labelfont=bf, textfont=it, name=Tableau}
%-- %--

Binary file not shown.

View File

@ -12,9 +12,9 @@
% definition % definition
\mdtheorem[style=pencil, theoremseparator={}, \mdtheorem[style=pencil, theoremseparator={},
theoremspace={}, roundcorner=6pt]{@def1}{Définition} theoremspace={}, roundcorner=6pt]{@def1}{\Jd Définition}
\mdtheorem[style=nologo, theoremseparator={}, \mdtheorem[style=nologo, theoremseparator={},
theoremspace={}, roundcorner=6pt]{@def2}{Définition} theoremspace={}, roundcorner=6pt]{@def2}{\Jd Définition}
\RenewDocumentEnvironment{@def1}{ o } {%begin \RenewDocumentEnvironment{@def1}{ o } {%begin
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
@ -39,10 +39,10 @@
% theoreme % theoreme
\mdtheorem[style=pencil, theoremseparator={}, \mdtheorem[style=pencil, theoremseparator={},
theoremspace={}, roundcorner=6pt, theoremspace={}, roundcorner=6pt,
outerlinewidth=1pt, outerlinecolor=black]{@thm1}{Théorème} outerlinewidth=1pt, outerlinecolor=black]{@thm1}{\Jd Théorème}
\mdtheorem[style=nologo, theoremseparator={}, \mdtheorem[style=nologo, theoremseparator={},
theoremspace={}, roundcorner=6pt, theoremspace={}, roundcorner=6pt,
outerlinewidth=1pt, outerlinecolor=black]{@thm2}{Théorème} outerlinewidth=1pt, outerlinecolor=black]{@thm2}{\Jd Théorème}
\RenewDocumentEnvironment{@thm1}{ o } {%begin \RenewDocumentEnvironment{@thm1}{ o } {%begin
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
@ -66,9 +66,9 @@
% propriete % propriete
\mdtheorem[style=pencil, theoremseparator={}, theoremspace={}, \mdtheorem[style=pencil, theoremseparator={}, theoremspace={},
outerlinewidth=1pt, outerlinecolor=black]{@ppt1}{Propriété} outerlinewidth=1pt, outerlinecolor=black]{@ppt1}{\Jd Propriété}
\mdtheorem[style=nologo, theoremseparator={}, theoremspace={}, \mdtheorem[style=nologo, theoremseparator={}, theoremspace={},
outerlinewidth=1pt, outerlinecolor=black]{@ppt2}{Propriété} outerlinewidth=1pt, outerlinecolor=black]{@ppt2}{\Jd Propriété}
\RenewDocumentEnvironment{@ppt1}{ o } {%begin \RenewDocumentEnvironment{@ppt1}{ o } {%begin
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
@ -92,9 +92,9 @@
% demonstration % demonstration
\mdtheorem[style=pencil, theoremseparator={}, \mdtheorem[style=pencil, theoremseparator={},
theoremspace={}]{@dem1}{Démonstration} theoremspace={}]{@dem1}{\Jd Démonstration}
\mdtheorem[style=nologo, theoremseparator={}, \mdtheorem[style=nologo, theoremseparator={},
theoremspace={}]{@dem2}{Démonstration} theoremspace={}]{@dem2}{\Jd Démonstration}
\RenewDocumentEnvironment{@dem1}{ o } {%begin \RenewDocumentEnvironment{@dem1}{ o } {%begin
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
@ -118,7 +118,7 @@
% consequence % consequence
\mdtheorem[style=nologo, theoremseparator={}, theoremspace={}, \mdtheorem[style=nologo, theoremseparator={}, theoremspace={},
outerlinewidth=1pt, outerlinecolor=black]{@csq1}{Conséquence(s)} outerlinewidth=1pt, outerlinecolor=black]{@csq1}{\Jd Conséquence(s)}
\mdtheorem[style=nologo, theoremseparator={}, theoremspace={}, \mdtheorem[style=nologo, theoremseparator={}, theoremspace={},
outerlinewidth=1pt, outerlinecolor=black]{@csq2}{} outerlinewidth=1pt, outerlinecolor=black]{@csq2}{}
@ -144,9 +144,9 @@
% vocabulaire % vocabulaire
\mdtheorem[style=pencil, theoremseparator={}, \mdtheorem[style=pencil, theoremseparator={},
theoremspace={}]{@voc1}{Vocabulaire} theoremspace={}]{@voc1}{\Jd Vocabulaire}
\mdtheorem[style=nologo, theoremseparator={}, \mdtheorem[style=nologo, theoremseparator={},
theoremspace={}]{@voc2}{Vocabulaire} theoremspace={}]{@voc2}{\Jd Vocabulaire}
\RenewDocumentEnvironment{@voc1}{ o } {%begin \RenewDocumentEnvironment{@voc1}{ o } {%begin
\IfNoValueTF {#1} { \IfNoValueTF {#1} {
@ -184,7 +184,7 @@
% remarque % remarque
\mdtheorem[style=warning, theoremseparator={ -}, \mdtheorem[style=warning, theoremseparator={ -},
theoremspace={}]{@rmq1}{Remarque(s)} theoremspace={}]{@rmq1}{\Jd Remarque(s)}
\mdtheorem[style=warning, theoremseparator={}, \mdtheorem[style=warning, theoremseparator={},
theoremspace={}]{@rmq2}{} theoremspace={}]{@rmq2}{}
@ -209,7 +209,7 @@
} }
% exemple % exemple
\mdtheorem[style=eye, theoremseparator={ -}, theoremspace={}]{@exe1}{ Exemple(s)} \mdtheorem[style=eye, theoremseparator={ -}, theoremspace={}]{@exe1}{\Jd Exemple(s)}
\mdtheorem[style=eye, theoremseparator={}, theoremspace={}]{@exe2}{} \mdtheorem[style=eye, theoremseparator={}, theoremspace={}]{@exe2}{}
\RenewDocumentEnvironment{@exe1}{ o } {%begin \RenewDocumentEnvironment{@exe1}{ o } {%begin
@ -234,7 +234,7 @@
% application % application
\mdtheorem[style=cogs, theoremseparator={}, \mdtheorem[style=cogs, theoremseparator={},
theoremspace={}]{@app1}{Application} theoremspace={}]{@app1}{\Jd Application}
\mdtheorem[style=cogs, theoremseparator={}, \mdtheorem[style=cogs, theoremseparator={},
theoremspace={}]{@app2}{} theoremspace={}]{@app2}{}
@ -260,7 +260,7 @@
% methode % methode
\mdtheorem[style=bookmark, theoremseparator={ -}, \mdtheorem[style=bookmark, theoremseparator={ -},
theoremspace={}]{@met1}{Méthode} theoremspace={}]{@met1}{\Jd Méthode}
\mdtheorem[style=noborder, theoremseparator={}, \mdtheorem[style=noborder, theoremseparator={},
theoremspace={}]{@met2}{} theoremspace={}]{@met2}{}
@ -297,7 +297,7 @@
% 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{@exo1} \theoremstyle{@exo1}
\newtheorem{exercice1}{Exercice} \newtheorem{exercice1}{\Jd Exercice}
% exercice % exercice
\newtheoremstyle{@exo2} \newtheoremstyle{@exo2}
@ -312,7 +312,7 @@
% 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{@exo2} \theoremstyle{@exo2}
\newtheorem*{exercice2}{Exercice} \newtheorem*{exercice2}{\Jd Exercice}
\counterwithin*{exercice1}{section} \counterwithin*{exercice1}{section}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%