Hi all,
> Here is my solution.
In general, I prefer to avoid using a markup, and override the stencil of the
grob instead, i.e.,
prallSharp = {
\once \override Script #'stencil = #ly:text-interface::print
\once \override Script #'text = \markup {
\override #'(baseline-skip . 1.2) \center-column {
\fontsize #-4 \sharp
\musicglyph #"scripts.prall"
}
}
}
prallFlat = {
\once \override Script #'stencil = #ly:text-interface::print
\once \override Script #'text = \markup {
\override #'(baseline-skip . 1.2) \center-column {
\fontsize #-4 \flat
\musicglyph #"scripts.prall"
}
}
}
\relative c' {
\prallSharp f4^\prall \prallFlat f4^\prall
}
This means that I end up using the correct grob (in this case, Script), as
opposed to faking it with a markup (TextScript). However, I don't like the
extra effort of writing
\prallSharp f4^\prall
Can this be done with a simple
f4^\prallSharp
and still use Script (as I've done)?
Thanks,
Kieren.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user