24 Jan
2009
24 Jan
'09
3:30 p.m.
I'm trying to have a centered text frame. There are two examples in the code below. 1) This one works. It uses a text frame that is in line in the code. 2) This one does not work! It's using a defined text frame and flushes the text frame to the left. How do I fix this? Thanks, Bart \defineframedtext[CenteredText][width=fit] \starttext % This one works! \startalignment[center] \dontleavehmode \framedtext[width=fit]{ \startlines The quick brown fox jumps over the lazy dog. \stoplines } \stopalignment % This one fails! \startalignment[center] \dontleavehmode \startCenteredText \startlines The quick brown fox jumps over the lazy dog. \stoplines \stopCenteredText \stoptext