LEFT | RIGHT |
(no file at all) | |
| 1 |
| 2 \version "2.15.10" |
| 3 |
| 4 \header { |
| 5 texidoc = "unpure-pure containers take two arguments: an unpure property and |
| 6 a pure property. The pure property is evaluated (and cached) for all |
| 7 pure calculations, and the unpure is evaluated for all unpure calculations. |
| 8 In this regtest, there are three groups of two eighth notes. In the first |
| 9 group, the second note should move to accommodate the flag, whereas it should |
| 10 not in the second group because it registers the flag as being higher. The |
| 11 flag, however, remains at the Y-offset dictated by ly:flag::calc-y-offset. |
| 12 In the third set of two 8th notes, the flag should be pushed up to a Y-offset |
| 13 of 8. |
| 14 " |
| 15 } |
| 16 |
| 17 \relative c'' { |
| 18 \stemUp \autoBeamOff |
| 19 d,8 eis' |
| 20 \once \override Flag #'Y-offset = |
| 21 #(ly:make-unpure-pure-container ly:flag::calc-y-offset 8) |
| 22 d,8 eis'! |
| 23 \once \override Flag #'Y-offset = #8 |
| 24 d,8 eis'! |
| 25 } |
LEFT | RIGHT |