X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fottava.ly;h=30fd38770daed7ecb01b0b91680aebee316ea7a4;hb=d766eb2344039b188c0db44894e0e0832b4acdd5;hp=06423dbf6e4d66de151713dc8ed274d05e1ece99;hpb=d77933148612eca5821af90e30803793d2e3daed;p=lilypond.git diff --git a/input/regression/ottava.ly b/input/regression/ottava.ly index 06423dbf6e..30fd38770d 100644 --- a/input/regression/ottava.ly +++ b/input/regression/ottava.ly @@ -1,21 +1,40 @@ \header { -texidoc = "Ottava brackets are supported, through the + 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.10.0" +%% . There must be a minimum distance between the octavation line and the +%% topmost staff line, taking into account the height of the closing +%% vertical dashed line. + % +%% . Octavation lines broken across staves must always start with `8va' +%% (or something similar). + % +%% . The `8va' should be slightl offset to the left. + % +%% . The final vertical dashed line of the octavation line should be offset +%% to the right. + % +%% . Octavation lines for `8va bassa' must be below the staff, not above. + % +%% . The `8va bassa' string is far too long for short octavation lines. +%% LilyPond should select between `8va bassa', `8ba', and `8', depending +%% on the available horizontal space (and the octavation style selected +%% by the user). The same holds for `8va' and `15ma'. -\paper { raggedright = ##t} -\score { - \notes\relative c''' \notes { + +\layout { ragged-right = ##t} + +\relative c''' { a b c a #(set-octavation 1) a b c a @@ -24,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 } +