Compare commits

...

4 Commits

3 changed files with 22 additions and 21 deletions

View File

@ -111,6 +111,7 @@
\RequirePackage{multicol}
% text
\RequirePackage{annee-scolaire}
\RequirePackage[dash]{dashundergaps}
\RequirePackage{comment}
\RequirePackage{caption}

View File

@ -17,7 +17,7 @@
}{
% if subtitle
\begin{block} {\faPencil \hspace{.125em}\
#2 \hfill{\normalfont\slshape#3}}
#2 \hfill{\slshape#3}}
}
}{
% if not starred: without logo
@ -26,7 +26,7 @@
\begin{block} {#2}
}{
% if subtitle
\begin{block} {#2 \hfill{\normalfont\slshape#3}}
\begin{block} {#2 \hfill{\slshape#3}}
}
}
}{
@ -45,7 +45,7 @@
}{
% if subtitle
\begin{block} {\faPencil \hspace{.125em}\
Théorème \hfill{\normalfont\slshape#2}}
Théorème \hfill{\slshape#2}}
}
}{
% if not starred: without logo
@ -54,7 +54,7 @@
\begin{block} {Théorème}
}{
% if subtitle
\begin{block} {Théorème \hfill{\normalfont\slshape#2}}
\begin{block} {Théorème \hfill{\slshape#2}}
}
}
}{
@ -73,7 +73,7 @@
}{
% if subtitle
\begin{block} {\faPencil \hspace{.125em}\
Propriété \hfill{\normalfont\slshape#2}}
Propriété \hfill{\slshape#2}}
}
}{
% if not starred: without logo
@ -82,7 +82,7 @@
\begin{block} {Propriété}
}{
% if subtitle
\begin{block} {Propriété \hfill{\normalfont\slshape#2}}
\begin{block} {Propriété \hfill{\slshape#2}}
}
}
}{
@ -101,7 +101,7 @@
}{
% if subtitle
\begin{block} {\faPencil \hspace{.125em}\
Démonstration \hfill{\normalfont\slshape#2}}
Démonstration \hfill{\slshape#2}}
}
}{
% if not starred: without logo
@ -110,7 +110,7 @@
\begin{block} {Démonstration}
}{
% if subtitle
\begin{block} {Démonstration \hfill{\normalfont\slshape#2}}
\begin{block} {Démonstration \hfill{\slshape#2}}
}
}
}{
@ -128,7 +128,7 @@
\begin{block} {}
}{
% if subtitle
\begin{block} {\normalfont\slshape#2}
\begin{block} {\slshape#2}
}
}{
% if not starred: with title
@ -137,7 +137,7 @@
\begin{block} {Vocabulaire}
}{
% if subtitle
\begin{block} {Vocabulaire \hfill{\normalfont\slshape#2}}
\begin{block} {Vocabulaire \hfill{\slshape#2}}
}
}
}{
@ -156,7 +156,7 @@
}{
% if subtitle
\begin{block} {\faExclamationTriangle \hspace{.125em}\
\hfill{\normalfont\slshape#2}}
\hfill{\slshape#2}}
}
}{
% if not starred: with title
@ -166,7 +166,7 @@
}{
% if subtitle
\begin{block} {\faExclamationTriangle \hspace{.125em}\
Remarque(s) \hfill{\normalfont\slshape#2}}
Remarque(s) \hfill{\slshape#2}}
}
}
}{
@ -185,7 +185,7 @@
}{
% if subtitle
\begin{block} {\faEye \hspace{.125em}\
\hfill{\normalfont\slshape#2}}
\hfill{\slshape#2}}
}
}{
% if not starred: with title
@ -195,7 +195,7 @@
}{
% if subtitle
\begin{block} {\faEye \hspace{.125em}\
Exemple(s) \hfill{\normalfont\slshape#2}}
Exemple(s) \hfill{\slshape#2}}
}
}
}{
@ -214,7 +214,7 @@
}{
% if subtitle
\begin{block} {\faCogs \hspace{.125em}\
\hfill{\normalfont\slshape#2}}
\hfill{\slshape#2}}
}
}{
% if not starred: with title
@ -224,7 +224,7 @@
}{
% if subtitle
\begin{block} {\faCogs \hspace{.125em}\
Application \hfill{\normalfont\slshape#2}}
Application \hfill{\slshape#2}}
}
}
}{
@ -258,7 +258,7 @@
}{
% if subtitle
\begin{block} {\faBookmarkO \hspace{.125em}\
\hfill{\normalfont\slshape#2}}
\hfill{\slshape#2}}
}
}{
% if not starred: with title
@ -268,7 +268,7 @@
}{
% if subtitle
\begin{block} {\faBookmarkO \hspace{.125em}\
Méthode \hfill{\normalfont\slshape#2}}
Méthode \hfill{\slshape#2}}
}
}
}{

View File

@ -225,12 +225,12 @@
%% titre
%%
\newcommand{\titre}[4]{%
\NewDocumentCommand \titre { G{Titre} G{Sous-titre} G{Date} G{Cours} G{Institut} } {%
\title{#1}
\subtitle{#2}
\date{#3}
\author{Cours}
\institute{#4}
\author{#4}
\institute{#5}
}
%% debut