Hi Nathan, great, thanks a lot!
-- Orm Am Dienstag, den 20. November 2012 um 08:40:03 Uhr (-0800) schrieb Nathan: > On Tue, Nov 20, 2012 at 6:06 AM, Orm Finnendahl > <[1]o.finnend...@inm.mh-freiburg.de> wrote: > > Hi, > > I'm trying to replace a notehead above the staff by an arrow > indicating a very high pitch. Here is my code, resulting in the > attached example png: [...] > > Here are two solutions. The first one kills the ledger lines entirely > (which, imo, looks the nicest). The second one aligns the notehead inside > the \markup. > pfeileins = { > \once \override NoteHead #'no-ledgers = ##t > \once \override NoteHead #'stencil = #ly:text-interface::print > \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 ) > \once \override NoteHead #'text = > \markup { > \fontsize #5 { > \arrow-head #Y #UP ##f }}} > > pfeilzwei = { > \once \override NoteHead #'stencil = #ly:text-interface::print > \once \override NoteHead #'stem-attachment = #'( 0.1 . -2 ) > \once \override NoteHead #'text = > \markup { > \raise #1.5 > \fontsize #5 { > \arrow-head #Y #UP ##f }}} > \relative c''' { \pfeileins f-. \pfeilzwei f-. } > Regards, > Nathan > > References > > Visible links > 1. mailto:o.finnend...@inm.mh-freiburg.de > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user