lilypond-user
[Top][All Lists]
Advanced

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

Re: Extra space at the beginning of the bar


From: Kieren MacMillan
Subject: Re: Extra space at the beginning of the bar
Date: Sun, 25 Mar 2018 07:41:37 -0400

Hi Paolo,

> Unfortunately yhe first option adds space only after a barline, and not at 
> the measure on the left of the staff

\score {
  \repeat unfold 12 { c'4 }
  \layout {
    \context {
      \Score
      \override TimeSignature.extra-spacing-width = #'(0 . 10)
      \override BarLine.space-alist.first-note = #'(fixed-space . 12)
      \override BarLine.space-alist.next-note = #'(semi-fixed-space . 12.5)
    }
  }
}

You’d have to add an equivalent tweak for any prefatory material (Clef, 
KeySignature, etc.).

> and the second option doesn't add space if the measure starts with a rest or 
> skip event.
> I could use   "\tweak Rest.extra-spacing-width ... " for the rest but I don't 
> know what to apply to a skip event...
> How can I fix that?

1. What music do you have that doesn’t include a grob of any sort in the first 
moment of the measure?

2. How about

    { \once \hide Rest \tweak Rest.extra-spacing-width #'(-10 . 0) r4 c'4 4 4 }

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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