From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16944 Path: main.gmane.org!not-for-mail From: "Arnold, David" Newsgroups: gmane.comp.tex.context Subject: Override starttyping environment Date: Tue, 2 Nov 2004 11:35:57 -0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1099556828 30610 80.91.229.6 (4 Nov 2004 08:27:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 08:27:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 04 09:26:53 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 1CPcxJ-0000sq-00 for ; Thu, 04 Nov 2004 09:26:53 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B494012784; Thu, 4 Nov 2004 09:26:50 +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 04460-05; Thu, 4 Nov 2004 09:26:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCA091276B; Thu, 4 Nov 2004 09:26:44 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C274F1278F for ; Tue, 2 Nov 2004 20:35:45 +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 23391-04-2 for ; Tue, 2 Nov 2004 20:35:45 +0100 (CET) Original-Received: from bb-services.Eureka.Redwoods.edu (unknown [207.62.203.248]) by ronja.ntg.nl (Postfix) with ESMTP id F0A971277C for ; Tue, 2 Nov 2004 20:35:44 +0100 (CET) Original-Received: by 001-250.redwoods.cc.ca.us with Internet Mail Service (5.5.2657.72) id ; Tue, 2 Nov 2004 11:36:02 -0800 Original-To: "Context (ntg-context@ntg.nl)" X-Mailer: Internet Mail Service (5.5.2657.72) X-Virus-Scanned: by amavisd-new at ntg.nl X-Mailman-Approved-At: Thu, 04 Nov 2004 09:26:40 +0100 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:16944 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16944 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?