Hello I have the following new command (a bit simplified for readability):
\newcommand{\xz}[1][0]{x_{#1}}
I'm expecting the following behavior:
$\xz$ outputs as $x_0$
$\xz{1}$ outputs as $x_1$
Though, the compiled result returns:
$\xz$ outputs as $x_0$ (ok!)
$\xz{1}$ outputs as $x_01$ (??)
What I'm missing there?

