]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/expressive/adding-accidentals-to-a-trillspanner.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / lsr / expressive / adding-accidentals-to-a-trillspanner.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.11.23"
3
4 \header { texidoc = "
5 By overriding @code{edge-text}, you can insert an accidental after the
6 trill sign in a trillspanner, but this can look ugly, since the
7 accidental isn't aligned.
8
9 With a few tweaks to the script size and position, you can achieve
10 quite pleasing results.
11
12
13
14 " }
15
16 \relative c'' {
17         \override TrillSpanner #'edge-text = 
18         #(cons (markup #:line (#:halign -0.5 #:musicglyph "scripts.trill" #:teeny #:raise 0.65 #:sharp)) "")
19         
20         b1\startTrillSpan b\stopTrillSpan
21         
22         \override TrillSpanner #'edge-text = 
23         #(cons (markup #:line (#:halign -0.5 #:musicglyph "scripts.trill" #:teeny #:raise 0.5 #:flat)) "")
24         
25         c\startTrillSpan c\stopTrillSpan
26 }