28 May
2012
28 May
'12
5:30 p.m.
On 2012-05-28 Hans Hagen
\def\doframedparentparameter#1#2{\ifx#1\relax\doframedrootparameter#2\else\doframedparameter#1{#2}\fi}
normally #1 is a \cs and helpers like \doframedparentparameter are not user commands
I was talking about the second argument #2. If #2 is always a command, then you can write \def\doframedparentparameter#1#2{\ifx#1\relax\doframedrootparameter#2\else\doframedparameter#1#2\fi} if not, then \def\doframedparentparameter#1#2{\ifx#1\relax\doframedrootparameter{#2}\else\doframedparameter#1{#2}\fi} but the actual definition is neither of them, that is what confused me. Marco