From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www.sonnenberger.org (www.sonnenberger.org [92.79.50.50]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o61EKsAF024562 for ; Thu, 1 Jul 2010 10:20:55 -0400 (EDT) Received: from britannica.bec.de (www.sonnenberger.org [192.168.1.10]) by www.sonnenberger.org (Postfix) with ESMTP id 40B476679C for ; Thu, 1 Jul 2010 16:20:47 +0200 (CEST) Received: by britannica.bec.de (Postfix, from userid 1000) id F2F181506F; Thu, 1 Jul 2010 16:18:49 +0200 (CEST) Date: Thu, 1 Jul 2010 16:18:49 +0200 From: Joerg Sonnenberger To: discuss@mdocml.bsd.lv Subject: Re: Page Margins? Message-ID: <20100701141849.GA1772@britannica.bec.de> References: <4C2A635B.1020306@bsd.lv> <20100629234908.GA1814@britannica.bec.de> <4C2C8DCF.2050704@bsd.lv> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C2C8DCF.2050704@bsd.lv> User-Agent: Mutt/1.5.20 (2009-06-14) On Thu, Jul 01, 2010 at 02:45:03PM +0200, Kristaps Dzonsons wrote: > >> Does anybody know of a formula for calculating page margins? Or > >> lacking that, a table of margins for the common formats? > > > > I think the only sane rule of hand is the approach by some LaTeX pages: > > take the page width and divide that by the width of 65m. Distribute the > > margins evenly and/or 1:2 (one-page fs two-page), but ensure they have > > some sane lower limit (e.g. 1cm or 2cm for DIN A4). > > Joerg, this doesn't make any sense to me. Can you clarify? > > Either way, I'd like at least one reference for this. <- left margin -><- text width -><- right margin -> <- page width -> Article like margin mode (one side): divider = 2 Book-like margin mode (two side): divider = 3 char_per_line = 65 text width = min(page width - divider * min_margin, char_per_line * width('m')) margin base = (page width - text width) / divider Article-like margin mode (one side): left margin = right margin = margin base Book-like margin mode (two side): Left page: left margin = margin base * 2 right margin = margin base Right page: left margin = margin_base right margin = margin base * 2 The German Wikipedia artikel for "Satzspiegel" has some basic ideas for this. One important aspect to keep in mind is that char_per_line can be varied to remain inside a asthetic page layout. There are different concepts for doing this though. Joerg -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv