This is fantastic!
Simple and clear.

Thank you so much, Pierre.
I spent a lot of time browsing the manuals that you referred to for 'slur',
but not for 'tie':-)
And it didn't dawn on me that I could put the 'prall' in markup.

-- 
Viktor Mastoridis 📱
fb.com/viktor.master.uk

-----Original Message-----
Re: Create a \prall with a slur above
From: Pierre Perol-Schneider <[email protected]>
To: Viktor Mastoridis <[email protected]>
Cc: lilypond-user <[email protected]>
Sunday, 8 November 2020 at 19:06

Or simply:

\version "2.20.0"
\new TabStaff  {
  \tabFullNotation
  g^\markup\left-align\tie \musicglyph #"scripts.prall"
}

Cheers,
Pierre

Le dim. 8 nov. 2020 à 18:34, Pierre Perol-Schneider <
[email protected]> a écrit :

> Hi Viktor,
> See:
> http://lilypond.org/doc/v2.20/Documentation/notation/text-markup-commands
> E.g.:
> \version "2.20.0"
> \new TabStaff  {
>   \tabFullNotation
>   g
>   ^\markup\left-align {
>   \override #'(direction . 1)
>   \tie \musicglyph #"scripts.prall"
>   }
> }
>
> HTH, Cheers,
> Pierre
>
> Le dim. 8 nov. 2020 à 17:47, Viktor Mastoridis <
> [email protected]> a écrit :
>
>> Hello,
>>
>> I would like to create an upper mordent (\prall) for guitar tabs, which
>> would have a curved slur over a single note.
>> The reasoning is that I would like to distinguish the regular Mordent
>> (where each note is plucked), with the Grace Mordent (where the first note
>> is plucked, the upper note is a quick hammer-on and the lower is a pull-off)
>> (See attachment for a more detailed rendition; or the image)
>>
>> So far, I came to this construct:
>> \version "2.20.0"
>> \new TabStaff  { \tabFullNotation
>> g\prall ^\markup { \path #0.2 #'((curveto 0 -0.5 0 2 1.5 0)  )} }
>>
>> I wonder whether there's a more elegant solution?
>>
>>
>> ---
>> Viktor🎼Mastoridis
>> fb.com/viktor.master.uk
>>
>>
>>

Reply via email to