lilypond-user
[Top][All Lists]
Advanced

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

Re: Place a markup string at the right of a notehead


From: Thomas Morley
Subject: Re: Place a markup string at the right of a notehead
Date: Sun, 8 Dec 2019 19:06:44 +0100

Am So., 8. Dez. 2019 um 18:38 Uhr schrieb Paolo Pr <address@hidden>:
>
>
>
> On Sun, Dec 8, 2019 at 1:37 PM Thomas Morley <address@hidden> wrote:
>>
>> Am So., 8. Dez. 2019 um 11:51 Uhr schrieb Paolo Pr <address@hidden>:
>>
>> > 2) Is there a way to place the markup exactly on the top or on the bottom 
>> > of the notehead as well?
>>
>> Not sure what you mean, could you provide an image?
>>
>
> I would like the same behaviour of expressive marks like dots or staccato 
> above (or below) noteheads:
>
> http://lilybin.com/ndhwj3/1
>
> They are placed near the notehead regardless of the collision with the 
> staff's lines
> If we have this too, we have therefore a complete test case:
>
> 1) Markup at the right of a notehead  (the tweak you wrote before)
> 2) markup exactly above or below the notehead (?)
> 3) markup above or below notehead + staff + stem  ( c'^\markup {"foo"}  ,  
> c'_\markup {"foo"} )
>
> thanks

Well, you could hijack Script then:

    {
        a'
          -\tweak font-name #"TeXGyreSchola"
          -\tweak stencil #ly:text-interface::print
          -\tweak text "foo"
          -!
        c''
          -\tweak font-name "TeXGyreSchola"
          -\tweak stencil #ly:text-interface::print
          -\tweak text "bar"
          -!
    }

Cheers,
  Harm



reply via email to

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