[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behavour of layout-set-staff-size
From: |
David Kastrup |
Subject: |
Re: Strange behavour of layout-set-staff-size |
Date: |
Mon, 24 May 2021 12:17:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Thomas Morley <thomasmorley65@gmail.com> writes:
> Hi,
>
> while experimenting with test codes for issue
> https://gitlab.com/lilypond/lilypond/-/issues/5977 I stumbled across:
>
> \score {
> { \tempo 8 = 88 c'8^"toplevel Score" }
> \layout { #(layout-set-staff-size 40) }
> }
>
> \book {
> \paper { #(layout-set-staff-size 40) }
> { \tempo 8 = 88 c'8^"explicit book" }
> }
>
> Both in one file.
> The text in the toplevel score is cramped. Output attached.
> No idea what happens... Though, it's similar even for ancient 2.12.3
> and all upstream versions.
I don't think layout-set-staff-size ever worked in a manner people
expected it to. It retains some globally set sizes and changes some
other ones. People are usually advised to use global-set-staff-size :
maybe layout-set-staff-size only makes sense in a score markup? There
you would not want to use global-set-staff-size I think?
--
David Kastrup