26 Jan
2009
26 Jan
'09
5:57 p.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