From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16855 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: Re: startyping modification Date: Sun, 31 Oct 2004 09:57:42 -0800 Message-ID: <3.0.5.32.20041031095742.008cf210@mail.northcoast.com> References: <3.0.5.32.20041030120329.008cee70@mail.northcoast.com> <3.0.5.32.20041030120329.008cee70@mail.northcoast.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1099245793 3051 80.91.229.6 (31 Oct 2004 18:03:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 18:03:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 31 19:02:59 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COK2d-00031Z-00 for ; Sun, 31 Oct 2004 19:02:59 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 87B1E1278A; Sun, 31 Oct 2004 19:02:59 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03398-06; Sun, 31 Oct 2004 19:02:59 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 702C512780; Sun, 31 Oct 2004 19:01:16 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 43CC512780 for ; Sun, 31 Oct 2004 19:01:15 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03397-04 for ; Sun, 31 Oct 2004 19:01:14 +0100 (CET) Original-Received: from smtp.inreach.com (unknown [209.142.2.34]) by ronja.ntg.nl (Postfix) with SMTP id 33FF51277B for ; Sun, 31 Oct 2004 19:01:14 +0100 (CET) Original-Received: (qmail 32497 invoked from network); 31 Oct 2004 18:02:36 -0000 Original-Received: from unknown (HELO newmicronpc) (209.209.15.177) by smtp.inreach.com with SMTP; 31 Oct 2004 18:02:36 -0000 X-Sender: darnold@mail.northcoast.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Original-To: mailing list for ConTeXt users In-Reply-To: Original-References: <3.0.5.32.20041030120329.008cee70@mail.northcoast.com> <3.0.5.32.20041030120329.008cee70@mail.northcoast.com> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16855 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16855 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 >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > >