From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73942 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: layout space between paper and text Date: Tue, 17 Jan 2012 20:48:25 +0100 Message-ID: <4F15D089.50206@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326829735 24309 80.91.229.12 (17 Jan 2012 19:48:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2012 19:48:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 17 20:48:49 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RnF1U-0005r4-F3 for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jan 2012 20:48:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E5E8CB1F6; Tue, 17 Jan 2012 20:48:47 +0100 (CET) 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 juPLs6kvnC3i; Tue, 17 Jan 2012 20:48:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84721CB1F3; Tue, 17 Jan 2012 20:48:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30616CB1F3 for ; Tue, 17 Jan 2012 20:48:43 +0100 (CET) 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 SqLu8+CZ7lIG for ; Tue, 17 Jan 2012 20:48:38 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 78421CB1F0 for ; Tue, 17 Jan 2012 20:48:38 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0HJmYqf015306 for ; Tue, 17 Jan 2012 20:48:36 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 8390-1713362 for multiple; Tue, 17 Jan 2012 20:48:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04GmHMz9d - 1dcdfba46ac6 - 20120117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73942 Archived-At: On 17-1-2012 19:39, Wolfgang Schuster wrote: > When you want to set all values to zero and only a few to certain value y= ou first clone the =93page=94 layout (where everything is zero) and set the= n the rest to desired value. > > > The horizontal dimensions are determined by the three values > > - backspace (distance from the left/inner margin) > - cutspace (distance from the right/outer margin) > - width (width of the textblock) > > Normally you need only two values because when you set backspace + width = the cutspace is calculated and when you set backspace + cutspace you can wr= ite width=3Dmiddle and the width of the text block will be calculated. > > > The vertical dimensions are calculated also three values > > - topspace (distance from the top margin) > - bottomspace (distance from the bottom margin) > - height (height of the textblock) > > You need here also only two value, topspace + height which all calculate = the bottomspace or topspace + bottomspace in combination with height=3Dmidd= le. > > > I haven=92t mentioned the header and footer above because they are part o= f the textblock and will take space from this area. > > > When you use the information above for a layout you need > > \definelayout > [middle] > [page] > [backspace=3D10mm, > topspace=3D10mm, > height=3D210mm, > height=3D277mm] > > \setuplayout[middle] > > \showframe[text][text] > > \starttext > \dorecurse{10}{\input knuth\par} > \stoptext nice tip ... up to Pavel to wikify this ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________