lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Re: New twoside mode.


From: Michael Käppler
Subject: [PATCH] Re: New twoside mode.
Date: Fri, 06 Nov 2009 14:32:36 +0100
User-agent: Thunderbird 2.0.0.12 (X11/20071114)

Hi Neil,
thanks for applying both patches. I've added some documentation for two-sided, too... Maybe you can have a look at it. It's just the most important things for now, maybe it should be extended later.

Regards,
Michael
>From 2a5251ed1dc077ca7d1d7b8a584c75ec0e7b6c3a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Michael=20K=C3=A4ppler?= <address@hidden>
Date: Fri, 6 Nov 2009 14:25:52 +0100
Subject: [PATCH] Docs: Add documentation for paper variables involved in 
two-sided mode.

---
 Documentation/notation/spacing.itely |   42 +++++++++++++++++++++++++++++-----
 1 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/Documentation/notation/spacing.itely 
b/Documentation/notation/spacing.itely
index 5f1035f..dc4c513 100644
--- a/Documentation/notation/spacing.itely
+++ b/Documentation/notation/spacing.itely
@@ -398,6 +398,14 @@ on a page:
 
 @table @code
 
address@hidden binding-offset
address@hidden binding-offset
+
+The amount @code{inner-margin} is additionately increased
+to make sure nothing will be hidden by the binding.
+Works only with @code{two-sided} set to true.  Default:
address@hidden
+
 @item horizontal-shift
 @funindex horizontal-shift
 
@@ -410,30 +418,44 @@ separators) are shifted to the right.  Default: 
@code{0.0}.
 The level of indentation for the first system in a score.
 Default: @code{15\mm}.
 
address@hidden inner-margin
address@hidden inner-margin
+
+The margin all pages have at the inner side if they are part
+of a book.  Works only with @code{two-sided} set to true.
+Default: @code{10\mm}.
+
 @item left-margin
 @funindex left-margin
 
 The margin between the left edge of the page and the beginning of
 each system.  Default: @code{10\mm}.
 
address@hidden right-margin
address@hidden right-margin
-
-The margin between the right edge of the page and the beginning of
-each system.  Default: @code{10\mm}.
-
 @item line-width
 @funindex line-width
 
 The width of music systems.  Default: @code{paper-width} minus
 @code{left-margin} and @code{right-margin}.
 
address@hidden outer-margin
address@hidden outer-margin
+
+The margin all pages have at the outer side if they are part
+of a book.  Works only with @code{two-sided} set to true.
+Default: @code{20\mm}.
+
 @item paper-width
 @funindex paper-width
 
 The width of the page.  Default: the width of the current paper
 size.  For details, see @ref{Paper size}.
 
address@hidden right-margin
address@hidden right-margin
+
+The margin between the right edge of the page and the beginning of
+each system.  Default: @code{10\mm}.
+
 @item short-indent
 @funindex short-indent
 
@@ -708,6 +730,14 @@ The number of systems that should be placed on each page.
 This is currently supported only by the @code{ly:optimal-breaking} algorithm.
 Default: unset.
 
address@hidden two-sided
address@hidden two-sided
+
+If set to true, use @code{inner-margin}, @code{outer-margin} and
address@hidden for determining margins depending on whether
+the page number is odd or even.  @code{left-margin} and @code{right-margin}
+are discarded then.  Default: @code{##f}.
+
 @end table
 
 
-- 
1.6.0.2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]