Hello Kieren,

thanks for your help.
Unfortunately yhe first option adds space only after a barline, and not at
the measure on the left of the staff,  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?




2018-03-25 4:57 GMT+02:00 Kieren MacMillan <kieren_macmil...@sympatico.ca>:

> Hi Paolo,
>
> > Is there a way to add extra space at the beginning of a bar without
> overriding the X-offset of the starting notes/rests/chords?
> > { .... how to add space here? .....     c' c' c' c' }
>
> Here are two options that avoid X-offset:
>
> \version "2.19.80"
> \language "english"
>
> \score {
>   \repeat unfold 12 { c'4 }
>   \layout {
>     \context {
>       \Score
>       \override BarLine.space-alist.first-note = #'(fixed-space . 12)
>       \override BarLine.space-alist.next-note = #'(semi-fixed-space . 12.5)
>     }
>   }
> }
>
> { \tweak NoteHead.extra-spacing-width #'(-12 . 0) c'4 4 4 4 }
>
> Hope that helps!
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to