[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
`set-global-staff-size` fails within `\book`
From: |
Werner LEMBERG |
Subject: |
`set-global-staff-size` fails within `\book` |
Date: |
Sun, 29 Oct 2023 10:47:46 +0000 (UTC) |
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 staff size globally for all scores in a file (or in a
\book block, to be precise), use set-global-staff-size [...]
This implies that `set-global-staff-size` is restricted to `\book` if
used within.
However, the above example fails: In both created PDF files, the staff
size is 20pt, which means that the second call to
`set-global-staff-size` does nothing.
What is wrong? The documentation or LilyPond's behaviour?
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- `set-global-staff-size` fails within `\book`,
Werner LEMBERG <=