I need to implement different value of
\thefigure
as a function of \value{section}
.Something like that:
Code: Select all
\renewcommand{\thefigure}{%
\ifthenelse{\value{section} = 0}}%
{\theappendix.\arabic{figure}}
{\thesection.\arabic{figure}}
}
Code: Select all
! Illegal parameter number in definition of \@currentlabel.
Thanks in advance.