From cf8dacf7b6462f9e750658621c15b9e781b82ed4 Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Wed, 14 Jul 2010 14:12:10 +0100 Subject: [PATCH] Doc: LM Tweaking output: Fix 1180 - The "real music" example overrides the line-width in the call to lilypond, but the overriden length is too small, resulting in an unwanted line break. Note that if the line-width is not overridden the break occurs at the end of measure 2, resulting in a collision of the phrasing slur with the 6/4 time signature. This example should be reconsidered as part of issue 1015. --- Documentation/learning/tweaks.itely | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/learning/tweaks.itely b/Documentation/learning/tweaks.itely index 2a9128cab7..92ee307415 100644 --- a/Documentation/learning/tweaks.itely +++ b/Documentation/learning/tweaks.itely @@ -2921,7 +2921,7 @@ dynamics, fingering and pedalling. @c The following should appear as music without code @c This example should not be indexed @c line-width ensures no break -@lilypond[quote,ragged-right,line-width=5.5\in] +@lilypond[quote,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4.\( g8 | @@ -3002,7 +3002,7 @@ the staff structure in a score block, and seeing what LilyPond produces by default: @c line-width ensures no break -@lilypond[quote,verbatim,ragged-right,line-width=5.5\in] +@lilypond[quote,verbatim,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4. g8 | @@ -3059,7 +3059,7 @@ easily add the left hand slur and the right hand phrasing slur, since these were all covered in the Tutorial. Doing this gives: @c line-width ensures no break -@lilypond[quote,verbatim,ragged-right,line-width=5.5\in] +@lilypond[quote,verbatim,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4.\( g8 | @@ -3129,7 +3129,7 @@ to 3.5 half staff spaces above the center line: This completes bar two, giving: @c line-width ensures no break -@lilypond[quote,verbatim,ragged-right,line-width=5.5\in] +@lilypond[quote,verbatim,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4.\( g8 | @@ -3208,7 +3208,7 @@ to the start of that section and to the end, giving: @c line-width ensures no break -@lilypond[quote,ragged-right,line-width=5.5\in] +@lilypond[quote,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4.\( g8 | @@ -3282,7 +3282,7 @@ Applying these changes gives: @cindex staff-position property, example @c line-width ensures no break -@lilypond[quote,verbatim,ragged-right,line-width=5.5\in] +@lilypond[quote,verbatim,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4.\( g8 | @@ -3351,7 +3351,7 @@ the @code{force-hshift} property. Here's the final result: @cindex transparent property, example @c line-width ensures no break -@lilypond[quote,verbatim,ragged-right,line-width=5.5\in] +@lilypond[quote,verbatim,ragged-right,line-width=6\in] rhMusic = \relative c'' { \new Voice { r2 c4.\( g8 | -- 2.39.5