[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accidentaled notes too far from the barline
From: |
Neil Puttock |
Subject: |
Re: accidentaled notes too far from the barline |
Date: |
Mon, 14 Feb 2011 20:46:08 +0000 |
2011/2/14 Janek Warchoł <address@hidden>:
> 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
bach.png
Description: PNG image