On Thu, Nov 2, 2023 at 9:43 AM N. Andrew Walsh <[email protected]>
wrote:
> Another question: is it possible to set the key signature for the two
> "alternate" sections to be different? I know I can hide one, but is it
> possible for different voices to have/display key signatures that are
> independent of one another?
>
Sure can, as long as each one is in its own staff. (As in, if there are
multiple voices sharing one staff they each have to be in the same key.)
You can either set the key signature at the staff level, or you can do it
at the voice level. I prefer to put the key in with the music, something
like:
music = \relative c' {
\key c \major
c4 d e f
}
This way, the key information is carried along with the music. You can
also put the time signature and the tempo into the music variable as well,
if you wish. That way if you want / need to reuse the music the
information is there already. Much of the music I deal with I'm reusing
the same music variable in multiple scores, each formatting the music
differently for different instruments. But since the music itself is
already in a variable, reusing it like that is easy. But that's my (rather
peculiar) individual situation and needs. Others most certainly do things
differently. It'll take time and a bunch of trial and error to figure out
what you need for whatever you're doing. And then more time and more trial
and error to figure out how best to go about it. It's a learning process.
--
Michael