lilypond-user
[Top][All Lists]
Advanced

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

Re: slashed afterGrace


From: Lukas-Fabian Moser
Subject: Re: slashed afterGrace
Date: Sat, 23 Apr 2022 12:48:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

Hi Stephan,

\relative c' { \afterGrace <cis e>1 d8 <fis, d'>1 }

and

\relative c' { <cis e>1 \slashedGrace d8 <fis, d'>1 }

The relevant property in \slahsedGrace working under the hood is

\temporary \override Flag.stroke-style = "grace"

In order to avoid braces, one can do this in a \tweak, yielding:

\version "2.20"

\new Staff \relative c' {
  \afterGrace <cis e>1 \tweak Flag.stroke-style grace d8 <fis, d'>1
}

or with a healthy dose of sugar:

\version "2.20"

slash = \tweak Flag.stroke-style grace \etc

\new Staff \relative c' {
  \afterGrace <cis e>1 \slash d8 <fis, d'>1
}

Lukas




reply via email to

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