Update code.
This commit is contained in:
parent
7444b2f5eb
commit
7e0cb23743
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
%-- extensions
|
%-- PACKAGES
|
||||||
% PERSONNELLES
|
% PERSONNELLES
|
||||||
% commun: contient des définitions et extensions de base pour tout.
|
% commun: contient des définitions et extensions de base pour tout.
|
||||||
\RequirePackage{commun}
|
\RequirePackage{commun}
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
\makeatletter
|
\makeatletter
|
||||||
|
|
||||||
%-- paramétrages
|
%-- SETTINGS
|
||||||
% metapost
|
% metapost
|
||||||
\ifpdf
|
\ifpdf
|
||||||
\DeclareGraphicsRule{*}{mps}{*}{}
|
\DeclareGraphicsRule{*}{mps}{*}{}
|
||||||
@ -303,8 +303,8 @@
|
|||||||
node[symbol] { \faFileTextO };
|
node[symbol] { \faFileTextO };
|
||||||
},%
|
},%
|
||||||
}
|
}
|
||||||
% idea: a shadowed square frame with a light bulb icon at upper left
|
% tips: a shadowed square frame with a light bulb icon at upper left
|
||||||
\mdfdefinestyle{idea}{%
|
\mdfdefinestyle{tips}{%
|
||||||
linecolor=white,linewidth=1pt,%
|
linecolor=white,linewidth=1pt,%
|
||||||
tikzsetting={draw=black,line width=1pt},%
|
tikzsetting={draw=black,line width=1pt},%
|
||||||
leftmargin=0,rightmargin=0,%
|
leftmargin=0,rightmargin=0,%
|
||||||
@ -494,6 +494,16 @@
|
|||||||
\end{voc*}
|
\end{voc*}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\RenewDocumentEnvironment{vocn}{ o } {%begin
|
||||||
|
\IfNoValueTF {#1} {
|
||||||
|
\begin{vocn*}
|
||||||
|
}{
|
||||||
|
\begin{vocn*}[#1]
|
||||||
|
}
|
||||||
|
}{%end
|
||||||
|
\end{vocn*}
|
||||||
|
}
|
||||||
|
|
||||||
\RenewDocumentEnvironment{app}{ o } {%begin
|
\RenewDocumentEnvironment{app}{ o } {%begin
|
||||||
\IfNoValueTF {#1} {
|
\IfNoValueTF {#1} {
|
||||||
\begin{app*}
|
\begin{app*}
|
||||||
@ -522,8 +532,8 @@
|
|||||||
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
|
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
|
||||||
|
|
||||||
%-- Macros personnelles
|
%-- Macros personnelles
|
||||||
% debut
|
% titre
|
||||||
\NewDocumentCommand \debut { G{Titre} G{Sous-titre} } {%
|
\NewDocumentCommand \titre { G{Titre} G{Sous-titre} } {%
|
||||||
\title{#1}
|
\title{#1}
|
||||||
\subtitle{#2}
|
\subtitle{#2}
|
||||||
\date{}
|
\date{}
|
||||||
|
Loading…
Reference in New Issue
Block a user