suppress \normalfont as it make text appears without the font choosen for the theme

This commit is contained in:
Jeff Lance 2022-09-04 15:38:55 +02:00
parent 43b7dcd4b8
commit 3c028773ed

View File

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