From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88688 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: centering a makeup Date: Sun, 14 Sep 2014 19:57:29 +0200 Message-ID: <3D8DECBF-9EB1-4338-9C5E-767CAF35344D@gmail.com> References: <5415B673.4000200@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1410717475 14645 80.91.229.3 (14 Sep 2014 17:57:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2014 17:57:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 14 19:57:50 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTE3a-0002mN-Jd for gctc-ntg-context-518@m.gmane.org; Sun, 14 Sep 2014 19:57:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E6041021D for ; Sun, 14 Sep 2014 19:57:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZKdkIft6eik9 for ; Sun, 14 Sep 2014 19:57:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 62B0C10224 for ; Sun, 14 Sep 2014 19:57:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB72E101E6 for ; Sun, 14 Sep 2014 19:57:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r+DwV4XNCved for ; Sun, 14 Sep 2014 19:57:34 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id D442D101E1 for ; Sun, 14 Sep 2014 19:57:34 +0200 (CEST) Original-Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8EHvQXg020878 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 14 Sep 2014 19:57:26 +0200 Original-Received: by mail-wg0-f42.google.com with SMTP id x12so2834477wgg.1 for ; Sun, 14 Sep 2014 10:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=o2WdjblhW0sIZn8cyAe7D30uDjNW8GPTNAtV7y7V6qw=; b=sMrWSG6IT2oUZAHyGQzs1sMBStNJFWg5qDO53jcY2tAzCBZK7os+ype3tQDwQhlLaF EGNKI2fxCqVByBPLykl83nFxcx5GvIVtjpLrmvwZL8z9YEuplRfFRTPvNNqblrXILdTA W1TYh2926bvZzKzCX4vYicOg7bnrO7VHuroLpe587plEvbptoKuhWDR9n+uyFUCOfnbl AqLYXkadWlZRQYChLehB0YJjmYdf8OqAUYYTHj7zMwU35DWMp6W9dPekWtGMZYwh2N4O unLecgQugQajrT0BAOa1uyEYP/SU6gSheMWx4yDq9rpyVLdp2fizYwM+P5WgkF8s9Td4 vqIg== X-Received: by 10.180.78.138 with SMTP id b10mr12907709wix.37.1410717454026; Sun, 14 Sep 2014 10:57:34 -0700 (PDT) Original-Received: from keima.localdomain (x2f2282e.dyn.telefonica.de. [2.242.40.46]) by mx.google.com with ESMTPSA id c7sm8931340wib.12.2014.09.14.10.57.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Sep 2014 10:57:33 -0700 (PDT) In-Reply-To: <5415B673.4000200@gmx.es> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22a; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07MP5VqWK - 74c7c6064770 - 20140914 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88688 Archived-At: Am 14.09.2014 um 17:38 schrieb Pablo Rodriguez : > Dear list, > > I have the following sample: > > \definemakeup > [custom] > [location=middle, width=.5\textwidth] > > \starttext > > \startmakeup [custom] > \input ward > \stopmakeup > > \stoptext > > How can I center the makeup in the page? > > \definemakeup[custom][align=middle] centers the lines, but this is > something different. > > It is not a question of paragraph orientation. It is rather a question > of placing the makeup in the middle of the page (also horizontally) You have to change the layout for the page with your makeup environments and set both margins to the same value. Changing the layout for a makeup environment is very easy because when you create a new environment with \definemakup context creates also a new page layout with the same name which can be changed with the \setuplayout command. \definemakeup [custom] [width=.5\textwidth] \setuplayout [custom] [width=middle] \showframe \starttext \startmakeup [custom] \input ward \stopmakeup \input ward \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________