lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

arrow notehead and articulation


From: Orm Finnendahl
Subject: arrow notehead and articulation
Date: Tue, 20 Nov 2012 15:06:08 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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:

pfeileins = {
  \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 . -1 )
  \once \override NoteHead #'extra-offset = #'( 0 . 2 )
  \once \override NoteHead #'text =
\markup {
    \fontsize #5 {
        \arrow-head #Y #UP ##f }}}

\relative c''' { \pfeileins f-. \pfeilzwei f-. }

Unfortunately in "pfeileins" the ledger lines are intersecting the
arrow. Moving the notehead up with the extra-offset property as in
"pfeilzwei" doesn't seem to be the right way as the staccato dot isn't
shifted up as well.

What's the right way to get this done?

--
Orm



Attachment: example.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]