> IMHO the documentation is wrong. Everything's in the name.
> set-global-staff-size sets the *global* staff size. Per-\book is not
> global.
Thanks to all who answered. I've submitted an MR to improve the
documentation.
https://gitlab.com/lilypond/lilypond/-/merge_requests/2200
At 10:36 on 12 Dec 2023, Werner LEMBERG wrote:
>>> Consider this snippet.
>>>
>>> ```
>>> \book {
>>> #(set-global-staff-size 20)
>>> { c' }
>>> }
>>>
>>> \book {
>>> #(set-global-staff-size 10)
>>> { c' }
>>> }
>>> ```
> I played a bit more with this, and I've found that
>
> What is wrong? The documentation or LilyPond's behaviour?
IMHO the documentation is wrong. Everything's in the name. set-global-staff-size
sets the *global* staff size. Per-\book is not global.
signature.asc
Description: This is a digitally signed message part
>> Consider this snippet.
>>
>> ```
>> \book {
>> #(set-global-staff-size 20)
>> { c' }
>> }
>>
>> \book {
>> #(set-global-staff-size 10)
>> { c' }
>> }
>> ```
I played a bit more with this, and I've found that
`set-global-staff-size` affects the *next* book block, which is, well,
Six weeks ago I asked the following, without getting a response:
> Consider this snippet.
>
> ```
> \book {
> #(set-global-staff-size 20)
> { c' }
> }
>
> \book {
> #(set-global-staff-size 10)
> { c' }
> }
> ```
>
> Section 'Setting the staff size' in the NR says
>
> To set the