summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx')
-rw-r--r--macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx b/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx
index 33838d9870..0e87b16a40 100644
--- a/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx
+++ b/macros/latex/contrib/yathesis/source/yathesis-samples-templates.dtx
@@ -219,7 +219,7 @@
%
% Numéro de version du package pgfplots
%COMMENT
-\pgfplotsset{compat=1.17}
+\pgfplotsset{compat=1.18}
%<<COMMENT
%
% Ajustement pour éviter, dans la table des matières, des débordements de
@@ -245,15 +245,15 @@
%<<COMMENT
% Macro pour mettre en forme les noms de fichiers
%COMMENT
-\newcommand{\fichier}[1]{\texttt{#1}}
+\NewDocumentCommand{\fichier}{ m }{\texttt{#1}}
%<<COMMENT
% Macro pour mettre en forme les noms de packages LaTeX
%COMMENT
-\newcommand{\package}[1]{\textsf{#1}}
+\NewDocumentCommand{\package}{ m }{\textsf{#1}}
%<<COMMENT
% Macro pour mettre en forme des locutions étrangères
%COMMENT
-\newcommand{\locution}[1]{\emph{#1}}
+\NewDocumentCommand{\locution}{ m }{\emph{#1}}
%</flat-sample|macros-sample>
%<*these-sample|flat-sample>
%<<COMMENT