]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/ottava.ly
* lily/parser.yy (Prefix_composite_music):
[lilypond.git] / input / regression / ottava.ly
index 922d7a79b20fc59243fa3147dd977936c500d8b7..a2aa3428a45bc43b168a16236070cf3557bcb85a 100644 (file)
@@ -4,13 +4,13 @@
 texidoc = "Ottava brackets are supported, through the
 use of the scheme function @code{set-octavation}.
 
-The spanner should go below for 8va bassa, and the string can be tuned
-with @code{Staff.ottavation}.
+The spanner should go below a staff for 8va bassa, and the ottavation
+string can be tuned with @code{Staff.ottavation}.
 
 "
 
 }
-\version "2.1.7"
+\version "2.3.22"
 
 % . There must be a minimum distance between the octavation line and the
 %   topmost staff line, taking into account the height of the closing
@@ -32,9 +32,9 @@ with @code{Staff.ottavation}.
 %   by the user).  The same holds for `8va' and `15ma'.
 
 
-\paper { raggedright = ##t} 
+\layout { raggedright = ##t} 
 \score {
-  \notes\relative c''' \notes {
+  \relative c'''  {
   a b c a
   #(set-octavation 1)
   a b c a
@@ -43,17 +43,26 @@ with @code{Staff.ottavation}.
   a b c a
   #(set-octavation 0)
   #(set-octavation -1)
-  a b c a
+  a b c a 
   #(set-octavation 0)
-  a,
+  \break
+  a, 
   #(set-octavation 1)
-  \property Staff.ottavation = #"8"
+  \set Staff.ottavation = #"8"
   b
   #(set-octavation 0)
   c a 
   #(set-octavation -1) b a g 
   #(set-octavation 0)
-  c
+  c 
+  #(set-octavation -1)
+  \set Staff.ottavation = #"8"
+  c,,16
+  #(set-octavation 0)
+  c'16
+  #(set-octavation -1)
+  \set Staff.ottavation = #"8"
+  g,,16
 }
 }