[Fix] \renewnotation: check for correct argument whether it is already defined.

This commit is contained in:
Gaetano Geck 2018-04-29 13:18:18 +02:00
parent fb1e5bbb44
commit 76d33ff457
1 changed files with 1 additions and 1 deletions

View File

@ -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?}}{}%
%