]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: update outside-staff-padding; issue 2910
authorKeith OHara <k-ohara5a5a@oco.net>
Wed, 4 Sep 2013 21:27:45 +0000 (14:27 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Tue, 10 Sep 2013 19:29:54 +0000 (12:29 -0700)
Documentation/notation/spacing.itely
scm/define-grob-properties.scm

index 91eeefa4e82687acb6fb7b6f40a57b5c6c6e61e6..c85be8386969835c5bf0b318926fb03b07ca12db 100644 (file)
@@ -2722,16 +2722,17 @@ r2.
 c4_"Text"\pp % now they will collide
 @end lilypond
 
-The vertical padding between an outside-staff object and the
-previously-positioned grobs can be controlled with
-@code{outside-staff-padding}.
+The vertical padding around outside-staff objects
+can be controlled with @code{outside-staff-padding}.
 
 @lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
 \once \override TextScript.outside-staff-padding = #0
-a'^"This text is placed very close to the note"
+a4-"outside-staff-padding = #0"
 \once \override TextScript.outside-staff-padding = #3
-c^"This text is padded away from the previous text"
-c^"This text is placed close to the previous text"
+d-"outside-staff-padding = #3"
+c-"default outside-staff-padding"
+b-"default outside-staff-padding"
+R1
 @end lilypond
 
 
index 93859cb50444bca1b6ffb3c8ebe30f41f45608d5..e4e0f9dd999d9ad867850f474a9a6b22158e388e 100644 (file)
@@ -676,8 +676,9 @@ outside-staff-object can be placed so that is it very close to another
 grob horizontally.  If this property is set, the outside-staff-object
 is raised so that it is not so close to its neighbor.")
      (outside-staff-padding ,number? "The padding to place between
-this grob and the staff when spacing according to
-@code{outside-staff-priority}.")
+grobs when spacing according to @code{outside-staff-priority}.
+Two grobs with different @code{outside-staff-padding} values have
+the larger value of padding between them.")
      (outside-staff-placement-directive ,symbol? "One of four directives
 telling how outside staff objects should be placed.
 @itemize @bullet