lilypond-devel
[Top][All Lists]
Advanced

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

Corrections to LM (Issue 3407) (issue 11455046)


From: PhilEHolmes
Subject: Corrections to LM (Issue 3407) (issue 11455046)
Date: Tue, 23 Jul 2013 10:45:36 +0000

Reviewers: Graham Percival, Trevor Daniels,

Message:
Please review.

Description:
A minor change to try to make the dynamics spacing section at least
accurate - ditto a small change on fingering placement.

Please review this at https://codereview.appspot.com/11455046/

Affected files:
  M Documentation/learning/tweaks.itely


Index: Documentation/learning/tweaks.itely
diff --git a/Documentation/learning/tweaks.itely b/Documentation/learning/tweaks.itely index 7d731aad7708905b680c7b490d1b516f6e225862..f01b0428b63bc6d96862d5c1edfcf3fb395f6cfc 100644
--- a/Documentation/learning/tweaks.itely
+++ b/Documentation/learning/tweaks.itely
@@ -2351,7 +2351,7 @@ shows:

 @lilypond[quote,fragment,ragged-right,verbatim,relative=2]
 \dynamicUp
-a4\f b\mf c\mp b\p
+a4\f b\mf a\mp b\p
 @end lilypond

 @noindent
@@ -2384,16 +2384,17 @@ These are properties of all grobs which support the

 By default, outside-staff objects are given a width of zero so
 that they may overlap in the horizontal direction.  This is done
-by the trick of adding infinity to the leftmost extent and
-minus infinity to the rightmost extent by setting the
address@hidden to @code{'(+inf.0 . -inf.0)}.  So
-to ensure they do not overlap in the horizontal direction we
-must override this value of @code{extra-spacing-width} to
address@hidden'(0 . 0)} so the true width shines through.  This is
-the command to do this for dynamic text:
+by the trick of setting the leftmost extent to infinity and
+the rightmost extent to minus infinity by setting the
address@hidden to @code{'(+inf.0 . -inf.0)}.  To
+ensure they do not overlap in the horizontal direction we
+must override this value of @code{extra-spacing-width} to give them
+a little extra spacing.  The units are the space between two staff
+lines, so moving the left edge half a unit to the left and the
+right edge half a unit to the right should do it:

 @example
-\override DynamicText.extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
 @end example

 @noindent
@@ -2402,31 +2403,12 @@ Let's see if this works in our previous example:
 @cindex DynamicText, example of overriding
 @cindex extra-spacing-width property, example

address@hidden,fragment,ragged-right,verbatim,relative=2]
-\dynamicUp
-\override DynamicText.extra-spacing-width = #'(0 . 0)
-a4\f b\mf c\mp b\p |
address@hidden lilypond
-
address@hidden
-Well, it has certainly stopped the dynamic marks being
-displaced, but two problems remain.  The marks should be
-spaced a little further apart and it would be better
-if they were all the same distance from the staff.
-We can solve the first problem easily.  Instead of making
-the @code{extra-spacing-width} zero we could add a little
-more to it.  The units are the space between two staff
-lines, so moving the left edge half a unit to the left and the
-right edge half a unit to the right should do it:
-
address@hidden DynamicText, example of overriding
address@hidden extra-spacing-width property, example

 @lilypond[quote,fragment,ragged-right,verbatim,relative=2]
 \dynamicUp
 % Extend width by 1 staff space
 \override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
-a4\f b\mf c\mp b\p
+a4\f b\mf a\mp b\p
 @end lilypond

 @noindent
@@ -2808,15 +2790,15 @@ example taken from the previous section:
 \override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
 % Align dynamics to a base line 2 units above staff
 \override DynamicLineSpanner.staff-padding = #2
-a4\f b\mf c\mp b\p
+a4\f b\mf a\mp b\p
 @end lilypond


 @node The self-alignment-X property
 @unnumberedsubsubsec The @code{self-alignment-X} property

-The following example shows how this can resolve the collision
-of a string fingering object with a note's stem by aligning the
+The following example shows how to adjust the position
+of a string fingering object with reference to a note's stem by aligning the
 right edge with the reference point of the parent note:

 @cindex StringNumber, example of overriding





reply via email to

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