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>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to