Trevor Daniels wrote:
Alexander Kobel wrote Friday, August 28, 2009 12:02 AM
Valentin Villenave wrote:
2009/8/25 Didi & MiMi Kanjahn <address@hidden>:
I am trying to resize a score from A4 to A5.
Using
\layout {
#(layout-set-staff-size 14)...
most things bound to the staff scaled down nicely, but the
distance of staff lines (for me unexpectedly) did not.
Unexpectedly for almost everyone, I guess. It just contradicts
the intuition one has about it, especially since the
global-set-staff-size does this "the Right way".
But it fulfills the "specifications", as it is explicitly
mentioned in NR 4.2.1, "Setting the staff size" under "Known
issues and warnings":
"layout-set-staff-size does not change the distance between the
staff lines. "
(More precisely, #'staff-space is not changed along, and it
internally refers to global staff-spaces as units, which aren't
affected by the layout-set-staff-size command as well; see IR
3.2.96 "staff-symbol-interface".)
I tried
\score{
<<
\new Staff << \override StaffSymbol #'staff-space =
#0.7 \global \new Voice { \one }...
but that did nothing.
This doesn't work for two reasons. StaffSymbol lives in
the Score context, and is created at the start of the score,
so overriding it's properties later has no effect.
Huh? You're sure? In IR 2.1.20 ("Staff" context) it says:
"This context [Staff] creates the following layout objects:
[...] StaffSpacing, StaffSymbol, [...]"
Also, I now tested my snippets from yesterday, and all work seem
to work here. Even just changing the override to
\override Staff.StaffSymbol #'staff-space = #0.7
^^^^^^
Am I missing the point?