lilypond-user
[Top][All Lists]
Advanced

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

Re: Explicitly add extra space before a note


From: Jean Abou Samra
Subject: Re: Explicitly add extra space before a note
Date: Wed, 9 Nov 2022 13:49:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Le 09/11/2022 à 13:35, Volodymyr Prokopyuk a écrit :
*Question*

Is there a way to *explicitly add horizontal space before a note* to accommodate the extra slur in \volta 2?



Have a look at this:

https://lilypond.org/doc/v2.23/Documentation/notation/adjusting-horizontal-spacing-for-specific-layout-objects

In your case, this gives something like

\version "2.22.2"

\fixed c' {
  \repeat volta 2 {
    \key d \minor
    \time 3/4
  }
  \alternative {
    { d8( e f g a4) }
    {
      \tweak extra-spacing-width #'(-4 . 0) d2\tweak control-points #'((-3 . -4) (-2 . -5) (-1 . -5) (0 . -4))\repeatTie
      r4
    }
  }
}



Best,
Jean

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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