[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concatenating LilyPond scores with different staff sizes.
From: |
Valentin Petzel |
Subject: |
Re: Concatenating LilyPond scores with different staff sizes. |
Date: |
Wed, 9 Feb 2022 13:00:10 +0000 (UTC) |
Hello Richard,
I do not like to say such things, but read the docs:
http://lilypond.org/doc/v2.23/Documentation/notation/setting-the-staff-size
set-global-staff-size is by definition used to set the staffsize globally. For
affecting one specific score you want to use layout-set-staff-size.
Cheers,
Valentin
09.02.2022 13:04:16 Richard Shann <richard@rshann.plus.com>:
> To create a single PDF of a full score and parts it is convenient in
> Denemo to simply concatenate the LilyPond; something like this:
>
> \version "2.22.0"
> #(set-global-staff-size 20)
> \markup "First"
> { c d e}
> #(set-global-staff-size 10)
> \markup "Second"
> {e f g}
>
> This runs into the problem that the full score is often needed at a
> smaller font size and in the above code the last set-global-staff-size
> is, naturally, the one used for both \score{}s.
>
> I realize it may be a long shot, and a bit esoteric, but is there any
> way something like that could be achieved? (I'm not seeking radically
> different approaches here as this won't be hand-written).
>
> Richard Shann