X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fottava.ly;h=0cb98e915de60f12ceb3b4a6bbc8815921937359;hb=9b8b5c2e05183a82ff687db186eb3eb3ff57f94e;hp=3950eef54212950f8f6c2f766375f39cd7a5c713;hpb=beb52c9966a934559684caebce7acc2b326d316e;p=lilypond.git diff --git a/input/regression/ottava.ly b/input/regression/ottava.ly index 3950eef542..0cb98e915d 100644 --- a/input/regression/ottava.ly +++ b/input/regression/ottava.ly @@ -2,7 +2,7 @@ \header { texidoc = "Ottava brackets are supported, through the -use of the scheme function @code{set-octavation}. +use of the music function @code{\\ottava}. The spanner should go below a staff for 8va bassa, and the ottavation markup can be tuned with @code{Staff.ottavation}. @@ -10,7 +10,8 @@ markup can be tuned with @code{Staff.ottavation}. " } -\version "2.11.47" + +\version "2.19.21" %% . There must be a minimum distance between the octavation line and the %% topmost staff line, taking into account the height of the closing @@ -34,35 +35,35 @@ markup can be tuned with @code{Staff.ottavation}. \layout { ragged-right = ##t} -\relative c''' { - a b c a - #(set-octavation 1) +\relative { + a'' b c a + \ottava #1 a b c a - #(set-octavation 0) - #(set-octavation 2) + \ottava #0 + \ottava #2 a b c a - #(set-octavation 0) - #(set-octavation -1) + \ottava #0 + \ottava #-1 a b c a - #(set-octavation 0) + \ottava #0 \break a, - #(set-octavation 1) + \ottava #1 \set Staff.ottavation = #"8" b - #(set-octavation 0) + \ottava #0 c a - #(set-octavation -1) + \ottava #-1 \set Staff.ottavation = \markup { \concat { 8 \tiny \raise #0.8 vb }} b a g - #(set-octavation 0) + \ottava #0 c - #(set-octavation -1) + \ottava #-1 \set Staff.ottavation = #"8" c,,16 - #(set-octavation 0) + \ottava #0 c'16 - #(set-octavation -1) + \ottava #-1 \set Staff.ottavation = #"8" g,,16 }