![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
26 Jan
2009
26 Jan
'09
10:57 a.m.
Am 26.01.2009 um 17:51 schrieb Bart C. Wise:
Thanks Wolfgang for the insight.
Here is one that did exactly you wrote, nothing else. \defineframedtext[CenteredTextFrame][width=fit,location=middle] \def\startCenteredText {\dosingleempty\dostartCenteredText} \def\dostartCenteredText[#1]% {\bgroup \iffirstargument \def\docommand##1{\getparameters[][##1]}% \processcommalist[#1]\docommand \fi \startCenteredTextFrame} \def\stopCenteredText {\stopCenteredTextFrame \egroup} \starttext \startCenteredText[myownparm="This is a test"] \startlines My own parm is: \myownparm \stoplines \stopCenteredText \stoptext Wolfgang