Only define plural acronym if command is not defined yet
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
\expandafter\newcommand\csname #1\endcsname{% Create a command named after the acronym (call \#1)
|
||||
\gls{#1}\xspace%
|
||||
}%
|
||||
\expandafter\newcommand\csname #1s\endcsname{%
|
||||
\expandafter\providecommand\csname #1s\endcsname{% Create a plural command (call \#1s) if not already defined
|
||||
\glspl{#1}\xspace%
|
||||
}%
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user