Hi Tina,

The whole staff-size-setting-business seems full of surprised. For
instance, I don't really understand why the setting of the global staff
size happens at top level rather than inside a \paper block ...
`set-global-staff-size` is simply a wrapper around `layout-set-staff-size` (or
rather its implementation `layout-set-absolute-staff-size-in-module`) that calls
it on the current default paper.

So it just some convenience around `\paper { #(layout-set-staff-size ...) }`.
Note (since you stated this in your first email) that spacing issues only
happen when you use `layout-set-staff-size` in a layout-block, since this does
set things specific to a score. Using it in a \paper-block should give the same
result as `(set-global-staff-size size)` (check out definition at line 100 in
`scm/paper.scm`).

Thanks much for pointing me to (layout-set-staff-size ...)! This seems to do the trick in my setup where I programmatically add a bunch of books, each having its own \paper settings. If I set the staff size for the book using layout-set-staff-size in the book's paper block, everything seems to work as it should.

Great, this was a long-standing issue in my project. :-)

Lukas


Reply via email to