]> git.donarmstrong.com Git - lilypond.git/commitdiff
DOC -- fix outside-staff-horizontal-padding example in spacing.itely
authorCarl Sorensen <c_sorensen@byu.edu>
Fri, 19 Dec 2008 17:29:42 +0000 (10:29 -0700)
committerCarl Sorensen <c_sorensen@byu.edu>
Fri, 19 Dec 2008 17:29:42 +0000 (10:29 -0700)
Documentation/user/spacing.itely

index 84902e6894fe036be65c8b392cbeeadb57430326..7d8f0fcf1b1662eeae3212d0b1faef42fc265cdd 100644 (file)
@@ -1775,23 +1775,26 @@ c^"This text is padded away from the previous text"
 c^"This text is placed close to the previous text"
 @end lilypond
 
-TODO: this example doesn't work any more ?
 
-By default, outside-staff objects are placed without regard to
-their horizontal distance from the previously-positioned grobs.  This
+By default, outside-staff objects are placed only to avoid
+a horizontal collision with previously-positioned grobs.  This
 can lead to situations in which objects are placed very close to each
-other horizontally.  Setting @code{outside-staff-horizontal-padding}
+other horizontally.  The vertical spacing between staffs can
+also be set so that outside staff objects are interleaved.  
+Setting @code{outside-staff-horizontal-padding}
 causes an object to be offset vertically so that such a situation
 doesn't occur.
 
 @lilypond[quote,ragged-right,relative=2,fragment,verbatim]
 % the markup is too close to the following note
-c2^"Text"
+c4^"Text"
+c4
 c''2
 % setting outside-staff-horizontal-padding fixes this
 R1
 \once \override TextScript #'outside-staff-horizontal-padding = #1
-c,,2^"Text"
+c,,4^"Text"
+c4
 c''2
 @end lilypond