Patrick,

Thanks. Yes, I just want to align horizontally on the page.

In my preamble, I have:

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


Later in the document I have:

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

However, the \setuptyping seems to override here, as the verbatim text is
not centered horizontally.

Can you help?


At 01:02 PM 10/31/04 +0100, you wrote:
>Hello David,
>
>> \starttyping
>> y = x.^2 -2*x - 3
>> \stoptyping
>>
>> I'd like, just this one time, to typeset this so it fall in the middle of
>> the page, with a slightly enlarged fontsize.
>
>What is "the middle of the page"? centered vertically and
>horizontally? 
>
>If only horizontal alignment: use
>
>\startalignment[middle]
>\starttyping
>y = x.^2 -2*x - 3
>\stoptyping
>\stopalignment
>
>Patrick
>-- 
>ConTeXt wiki: http://contextgarden.net
>_______________________________________________
>ntg-context mailing list
>[EMAIL PROTECTED]
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to