[Top][All Lists]

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

Re: Spacing of clef change

From: Aaron Hill
Subject: Re: Spacing of clef change
Date: Wed, 26 Jun 2019 21:53:51 -0700
User-agent: Roundcube Webmail/1.3.8

On 2019-06-26 9:27 pm, Evan Driscoll wrote:
I've got the example document below. There's a bit too little space for me
between the last note in the last measure of the first line and the new

I found a mailing list entry that showed how to put some extra space before the clef (the commented-out override) and that looks great -- except that it also moves the clef at the start of the next system. I tried a \tweak
version, but my attempt has no effect at all.

Here's one way to do it:

\version "2.19.82"

\relative c {
    \clef "bass"
    \repeat unfold 10 {
         g2. g4 |
    \once \override Staff.Clef.before-line-breaking = #(lambda (grob)
      (and (eq? LEFT (ly:item-break-dir grob))
        (set! (ly:grob-property grob 'X-extent) '(-2 . 2))))
    \clef "tenor"
    \repeat unfold 7 {
         g8 g g2.

-- Aaron Hill

reply via email to

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