-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can staff size variable be something other than a counter? #1
Comments
Could you test last commit, please ? It should work like this. On a further step, I think I'll add a command to automatically scale default staffsize pending on document's font size. |
Tested and found that while So, bottom line: what you did works and is, I think, better than the equivalent in lilypond-book. |
Perfect ! I leave this open till I've made what I told about auto scaling. Thank you ! |
19d85ff should definitely fix this issue ; feel free to re-open it if there are bugs. |
By default, Lilypond uses a staff size of 20 which prints the lyrics in 12pt font. Since I want the lyrics text size to match the font size of the rest of the document, this means that in documents where the font size isn't 12 pt, I have to change the Lilypond staff size.
First, the universal variable for default
staffsize
is already a big step up on lilypond-book (where thestaffsize
has to be specified for each inclusion separately). However, the fact that it's a counter limits what I can do with it since counters are limited to integers. In my current projects using lilypond-book, I use a scheme expression for the staff size in order to facilitate the scaling. For examplestaffsize=(* 20 17/12)
rescales the music for a 17pt large-print edition. Would it be possible to change thestaffsize
variable so that it can hold something like this?The text was updated successfully, but these errors were encountered: