X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fgrace.ly;h=36462f342c2e719a16e3e3af1bb6c2ed06d88422;hb=0993d3b3dc500028ebea067b4b4bb406c8d19196;hp=b58a05b1480b288f5db1decf2e7c441bc429e3d9;hpb=83b33e64bfaa3628a501b3b0c573a3bce6b50c96;p=lilypond.git diff --git a/input/regression/grace.ly b/input/regression/grace.ly index b58a05b148..36462f342c 100644 --- a/input/regression/grace.ly +++ b/input/regression/grace.ly @@ -1,34 +1,30 @@ -\version "1.3.146" + +\version "2.12.0" \header{ -texidoc=" -Grace notes are typeset as an encapsulated piece of music. You can -have beams, notes, chords, stems etc. within a @code{\grace} section. -Slurs that start within a grace section, but aren't ended are attached -to the next normal note. Grace notes have zero duration. If there -are tuplets, the grace notes won't be under the brace. Grace notes -can have accidentals, but they are (currently) spaced at a fixed -distance. Grace notes (of course) come before the accidentals of the -main note. Grace notes can also be positioned after the main note. - -Grace notes without beams should have a slash, if @code{flagStyle} is -not set. Main note scripts don't end up on the grace note. + + texidoc=" You can have beams, notes, chords, stems etc. within a +@code{\grace} section. If there are tuplets, the grace notes will not +be under the brace. + +Main note scripts do not end up on the grace note. " } -\score {\notes \context Voice = VA \relative c'' { - \grace b8 c4-\fermata - \grace { [c32 cis32] } gis4 - \grace { [cis32 dis32] } e4 - \grace { [c32 d] }\times 2/3 { [c8 c c] } - \grace { [b32 ( c32] } ) c4 - \grace [c8 c8] -% \grace c16 [c8 c8] - %% broken? - %%\grace { \property Grace.graceAlignPosition = \right c16} c4 - c4 \grace { c16 } c4 -} -\paper {linewidth = -1.} -\midi{ } +\layout {ragged-right = ##t} + +\new Voice \relative c'' { + \grace b8 c4\fermata + \grace { c32[ cis32] } gis4 + \grace { cis32[ dis32] } e4 + \grace { c32[ d] }\times 2/3 { c8[ c c] } + \grace { b32[ ( c32] } c4) + \grace 16 c8[ c8] + % \grace c16 c8[ c8] + %% broken? + %%\grace { \set Grace.graceAlignPosition = \right c16} c4 + c4 \grace { c16 } c4 } + +