![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
13 Nov
2008
13 Nov
'08
1:48 p.m.
Am 13.11.2008 um 20:52 schrieb Alan STONE:
Hi,
With \definelayout[myLayout][...], how do you test whether one of its parameters has a certain value, is greater than 0, etc... ?
\definelayout [mylayout] [backspace=3cm, width=12cm] \starttext \doifdimensionelse{\namedlayoutparameter{mylayout}{width}} % width could be 'fit' {\ifdim\namedlayoutparameter{mylayout}{width}<10cm ... \else ... \fi} {\processaction [\namedlayoutparameter{mylayout}{width}] [fit=>..., unknown=>...]} \stoptext Wolfgang