From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83298 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Section in golden ratio? Date: Wed, 3 Jul 2013 23:29:39 +0200 Message-ID: <6F92C8A4-559B-4119-8981-04459EDC103D@gmail.com> References: <51D43F80.4000203@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372886997 22540 80.91.229.3 (3 Jul 2013 21:29:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 21:29:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 03 23:29:59 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UuUcf-0005OG-8e for gctc-ntg-context-518@m.gmane.org; Wed, 03 Jul 2013 23:29:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F1A9101E8; Wed, 3 Jul 2013 23:29:56 +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 WSRV4wZistU6; Wed, 3 Jul 2013 23:29:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D27DB101E4; Wed, 3 Jul 2013 23:29:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 417F4101E4 for ; Wed, 3 Jul 2013 23:29:53 +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 2ir3iN8HjFTE for ; Wed, 3 Jul 2013 23:29:52 +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 5462E101E0 for ; Wed, 3 Jul 2013 23:29:42 +0200 (CEST) Original-Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r63LTf8e024178 for ; Wed, 3 Jul 2013 23:29:41 +0200 Original-Received: by mail-ea0-f173.google.com with SMTP id g15so366859eak.4 for ; Wed, 03 Jul 2013 14:29:41 -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:x-mailer; bh=vfYYlIcjfTLPcqztVp1ENN+zvLFjBNUkSnVJZWW5uM4=; b=z6UQaYB6p3wR+JD1w5cEBFFbhJtCZeQ8QTc4e7T/xwtPNEI48g0dR2CmiKEaaSuGTN XozTpoKO0DTXpyJ0QX40Mw9voXegQ10BPa1YK/ZE9uwS4zd8yoqAAyJ58Wdrt+UBrSza fC/j7mn5xn3HAMd4JVXVXkN/rZOxlBREpaPtMlfX7Wy+SdGPHy30XWSypiI0K1D/5jFj +ScxxrpD4+m9SWaVYp3cIvVcsmiuf7v+CyRRZs1bh2hLqrboIBn1uWbd9oCWjDHP96VY Pf/4nagO0Lxzh3speBkjusQ33+KDCLLmsCCkQU5/QOeQcWPb6PQazRbupWFE0h4UnNps nRGQ== X-Received: by 10.15.94.11 with SMTP id ba11mr2831542eeb.101.1372886981250; Wed, 03 Jul 2013 14:29:41 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe441f.pool.mediaWays.net. [77.190.68.31]) by mx.google.com with ESMTPSA id n42sm47256581eeh.15.2013.07.03.14.29.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Jul 2013 14:29:40 -0700 (PDT) In-Reply-To: <51D43F80.4000203@gmx.net> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JTVtFwf - 9959162795a2 - 20130703 (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:83298 Archived-At: Am 03.07.2013 um 17:13 schrieb Peter Rolf : > Am 03.07.2013 16:10, schrieb Proch=E1zka Luk=E1=9A Ing. - Pontex s. r. o.: >> Hello, >> = >> I'm trying to setup section to be placed vertically in the golden ratio >> of the page, i.e. cca 2 "units" above the section and 3 "units" bellow. >> = >> How to achieve this? >> = >> My code so far is: >> = >> ---- >> \setuplayout[page] >> = >> \define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi} > = > - use a \vbox (you need vertical mode here) instead of a \hbox The makeup environment creates a big \vbox for its content. \setuplayout[page] \definemakeup[section][text] \setupmakeup [section] [top=3D\vfill\vfill,bottom=3D\vfill\vfill\vfill] \setuphead[section] [before=3D\startsectionmakeup, after=3D\stopsectionmakeup, alternative=3Dmiddle] \setuplabeltext[section=3DSection ] \starttext \section{AAA} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________