[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: arrow notehead and articulation
From: |
Orm Finnendahl |
Subject: |
Re: arrow notehead and articulation |
Date: |
Tue, 20 Nov 2012 17:51:32 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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
> <address@hidden> 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:address@hidden
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user