[dev-context] Definition of \doframedparentparameter
Marco
netuse at lavabit.com
Mon May 28 19:30:36 CEST 2012
On 2012-05-28 Hans Hagen <pragma at wxs.nl> wrote:
> > \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
More information about the dev-context
mailing list