On Tue, Nov 20, 2012 at 6:06 AM, Orm Finnendahl < 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
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user