Re: Argomento opzionale in \newcommand

#27310
Up
0
Down
::


Per il momento ho risolto così:
`
\usepackage{ifthen}
\usepackage{cool}
\newcommand\testfor@empty[1]{TT\fi\def\next{#1}\ifx\next\@empty}

\newcommand{\nvbao}[1]{
\if\testfor@empty{#1}\liststore{(lista)}{bc}\else\liststore{#1}{bc}\fi
`
Esiste una soluzione migliore?

Grazie,
Nino

Go to top