lilypond-user
[Top][All Lists]
Advanced

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

Re: Grace note between arpeggio mark and chord


From: Jean Abou Samra
Subject: Re: Grace note between arpeggio mark and chord
Date: Wed, 6 Apr 2022 19:15:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0



Le 06/04/2022 à 17:44, Knute Snortum a écrit :
Hi everyone.  I have another engraving question.

Without intervention, LilyPond puts a grace note to the left of an
arpeggio mark.  I want it to the right, between the arpeggio mark and
the chord notes.  Here is a snippet of the default behavior:

%%%
\version "2.22.2"

\relative {
   <b d f>4 <g c e> \grace { g'8 } <a, d f>4\arpeggio <g e'> |
}
%%%

(I put in the other chords to show the horizontal spacing.)

How I want it to look is like the attached picture.  (I don't need the
"a" cross-staff.)

Just to show what I've tried, here is an example of one of my
(horrible) attempts at solving the problem:

%%%
\relative {
   <b d f>4 <g c e>4*1/4 \hideNotes <a d f>-\tweak X-offset 3 \arpeggio
     \unHideNotes \once \override NoteColumn.X-offset = 2 \magnifyMusic #2/3
     { g'8 } <a, d f>4 <g e'> |
}
%%%

The horizontal spacing is way off and can never be tweaked to get it
right.  Any assistance would be greatly appreciated.


It's much simpler to put the arpeggio on the grace note and tweak its positions.

\version "2.22.2"

\relative {
  <b d f>4 <g c e>
  \grace {
    g'8\tweak positions #'(-4 . -1.5) \tweak extra-spacing-width #'(-1.0 . 0) \arpeggio
  }
  <a, d f>4 <g e'> |
}


Best,
Jean





reply via email to

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