Hans et al,

I have in my preamble:

\definetyping[matlab]

\setuptyping[matlab]
[before={\startframedtext[width=\makeupwidth,
      background=screen,
      backgroundscreen=0.9]},
  after={\stopframedtext},
  color=darkred]

Later in my document, I tried to center one of these environments:

\startalignment[middle]
\switchtobodyfont[big]
\startmatlab
y = x.^2 -2*x - 3
\stopmatlab
\stopalignment

But it comes out left justified, not centered. 

Any ideas how I can center one of these environments, one time only?
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to