Hi Berthold,

when I want to do a pitched trill over just one single note, I always get errors:

Try overriding the stencil for the \trill function:

%%%%%%%%%%
\version "2.12.2"
trillfl =
{
        \once \override Script #'stencil = #ly:text-interface::print
\once \override Script #'text = \markup \override #'(baseline-skip . 1) { \center-column {
                        \fontsize #2 \musicglyph #"accidentals.flat"
                        \musicglyph #"scripts.trill"
                } }
}
trillsh =
{
        \once \override Script #'stencil = #ly:text-interface::print
        \once \override Script #'text = \markup { \concat {
                        \musicglyph #"scripts.trill"
\translate #'(0.4 . 0.8) \fontsize #-4 \musicglyph #"accidentals.sharp"
                } }
}
\relative { c'\trill \trillfl d\trill e\trill \trillsh f\trill g\trill }
%%%%%%%%%%

With the various text markup functions in Lilypond, you can do just about anything! =)

Hope this helps!
Kieren.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to