From 76d33ff457a491dfd64df784dd3351adabc7418b Mon Sep 17 00:00:00 2001 From: Gaetano Date: Sun, 29 Apr 2018 13:18:18 +0200 Subject: [PATCH] [Fix] \renewnotation: check for correct argument whether it is already defined. --- newnotation.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newnotation.sty b/newnotation.sty index 397138f..88d53b9 100755 --- a/newnotation.sty +++ b/newnotation.sty @@ -623,7 +623,7 @@ % 8. optional: description of arguments for table of notation \DeclareDocumentCommand{\renewnotation}{s o m O{0} o m O{} O{}}{% % Check whether macro is not defined so far: - \ifundef{#2}% + \ifundef{#3}% {\PackageError{newnotation}{renewnotation: Command '\string#2' not defined.}% {Misspelled name?}}{}% %