]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/ambitus-gap.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / ambitus-gap.ly
index 6539ce85504f819aa225e38da1667d0ab59e6c46..65848e4507f2af14fb47415dcab64dcd6c2c1182 100644 (file)
@@ -1,8 +1,10 @@
-\version "2.13.4"
+\version "2.17.6"
 
 \header {
   texidoc = "The gaps between an @code{AmbitusLine} and its
-note heads are set by the @code{gap} property."
+note heads are set by the @code{gap} property. By default,
+@code{gap} is a function that reduces the gap for small intervals
+(e.g. a fourth), so that the line remains visible."
 }
 
 \layout {
@@ -14,7 +16,13 @@ note heads are set by the @code{gap} property."
 
 \new Staff {
   \time 2/4
-  \override AmbitusLine #'gap = #1
+  \override AmbitusLine.gap = #1
   c'4 g''
 }
 
+\new Staff <<
+  \time 2/4
+  { d'' g'' }
+  \\
+  { c' g' }
+>>