2011/2/14 Janek Warchoł <lemniskata.bernoull...@gmail.com>:

> The amount of whitespace after the barline is fixed, while it should depend
> on whether the first note in the measure has an accidental or not. This
> results in notes being too far from the barline, especially when there is
> only one note in measure:
>
> { c'4 d' g' f' e'2 a' d'1 }
> { c'4 d' g' f' es'2 a' dis'1 }

Have you tried fiddling with BarLine #'space-alist?  Changing the
next-note entry to use minimum-fixed-space appears to deliver the
goods:

\override Staff.BarLine #'space-alist =
#'((time-signature . (extra-space . 0.75))
   (custos . (minimum-space . 2.0))
   (clef . (minimum-space . 1.0))
   (key-signature . (extra-space . 1.0))
   (key-cancellation . (extra-space . 1.0))
   (first-note . (fixed-space . 1))
   (next-note . (minimum-fixed-space  . 1.2))
   (right-edge . (extra-space . 0.0)))

This doesn't work for the single-note case since that's altered later
using the grob property 'full-measure-extra-space (it overrides the
space-alist default set by StaffSpacing).

Cheers,
Neil

<<attachment: bach.png>>

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to