]> git.donarmstrong.com Git - lilypond.git/blob - input/test/spanner-after-break-tweak.ly
Marked file for deletion, or just modified comments.
[lilypond.git] / input / test / spanner-after-break-tweak.ly
1 \version "1.7.21"
2
3 \header { texidoc = "@cindex Spanner After Break Transparent
4 To selectively tweak spanners after the linebreaking
5 process, Scheme code must be used.  In this simple example, the tie
6 after the line break is set transparent. "
7 }
8
9 \score { \notes {
10     \property Voice.Tie \set #'after-line-breaking-callback
11     = #(lambda (x)
12         (if (eq? (cadr (ly:get-broken-into (ly:get-original x))) x)
13          (ly:set-grob-property! x 'transparent #t)
14         ))
15     
16     c'1 ~ \break c'1
17
18   }
19          \paper { raggedright = ##t }
20 }