Hello Joram, Good idea, after… all.
How about: \version "2.19.80" % Thanks to David Kastrup for the inspiration! after = #(define-music-function (t e m) (ly:duration? ly:music? ly:music?) #{ \context Bottom << #m { \skip $t <> -\tweak extra-spacing-width #empty-interval $e } >> #}) music = \relative { a2 \after 4 ^"P" c ( \after 4 ^"H" b ) ( c ) \glissando d1 } << \new Staff \with { \omit TextScript } \music \new TabStaff \with { \tabFullNotation } \music >> > Le 23 déc. 2017 à 09:54, Noeck <noeck.marb...@gmx.de> a écrit : > > > > Am 23.12.2017 um 08:52 schrieb Jacques Menu Muzhic: >> Going along you lines, the H and P can be centered between the two notes, >> see below. > > Shifting by adding " " is not so nice, you are right. Your solution is > more accurate but also much longer. Perhaps the often mentioned \after > function could also help here. It would be ideal to position the text > relative to the middle of the slur, but I don't know how to do that. > > Every general solution would probably be best wrapped into variables or > functions. > > I would probably make the font a little bit smaller and I tend to use > sans serif fonts for that. > > Cheers, > Joram _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user