X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fstem-tremolo.ly;h=df26319330db16265a820780251862880c73256e;hb=e378c1bba8d1db2689fe815c449ace57e234ab17;hp=175edccc0134adc529afd1e5178eeff6a7e57fb5;hpb=3db08de4502e30616808fc348b054d32822e5cc4;p=lilypond.git diff --git a/input/regression/stem-tremolo.ly b/input/regression/stem-tremolo.ly index 175edccc01..df26319330 100644 --- a/input/regression/stem-tremolo.ly +++ b/input/regression/stem-tremolo.ly @@ -1,31 +1,40 @@ -\version "1.7.18" + +\version "2.12.0" \header{ -texidoc=" + texidoc=" Stem tremolos or rolls are tremolo signs that look like beam segments crossing stems. If the stem is in a beam, the tremolo must be parallel -to the beam. If the stem is invisible (eg. on a whole note), the -tremolo must be centered on the note. +to the beam. If the stem is invisible (e.g. on a whole note), the +tremolo must be centered on the note. If the note has a flag (eg. an +unbeamed 8th note), the tremolo should be shortened if the stem is up +and tilted extra if the stem is down. + +The tremolos should be positioned a fixed distance from the end of the +stems unless there is no stem, in which case they should be positioned +a fixed distance from the note head. " } -\score{ - \context Voice\notes \relative c''{ - \property Voice.TextScript \set #'direction = #1 - \property Voice.TextScript \set #'padding = #5 - a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":" - a4:4 c:8 a:16 c:32 a a: a2: - \break - \stemUp - a4:32 a'4:64 - \stemDown - c,4:32 c,4:64 - \stemBoth - c'8:16 c c c - a': a a: a - c,16:32 c: c c a16:32 a: a a - c8:16 g: d: a: - c8:32 f: b: e: - } + +\context Voice \relative c''{ + \textSpannerUp + \override TextScript #'padding = #5 + a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":" + a':32 a,,:32 + a'4:4 c:8 a:16 c:32 a a: a2: + \break + \stemUp + a4:32 a'4:64 + \stemDown + c,4:32 c,4:64 + \stemNeutral + c'8:16 c c c + a': a a: a + c,16:32 c: c c a16:32 a: a a + c8:16 g: d: a: + c8:32 f: b: e: + f8:256[ f,8: f':] f: \noBeam f,,: \noBeam c16:32 \noBeam c'': } +