lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key Signature only on first staff


From: Brother Gabriel-Marie
Subject: Re: Key Signature only on first staff
Date: Tue, 21 Jul 2015 13:29:04 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

Mr. Albrecht,
Where do I add the
\omit Staff.KeySignature
in my composition?

You are using a different setup.
Or do I have to change the way I'm laying it out?


global = {
    \time 4/4
    \tempo 4=90
    \key b \major
}

melody = \relative c' {
    \global
   ...the music...
}

wordsOne = \lyricmode{
   \set stanza = "1"
    ...the lyrics...
}
wordsTwo = \lyricmode{
   \set stanza = "2"
    ...the lyrics...
}

\score {
    <<
        \new Staff {
            \melody
        }
        \addlyrics { \wordsOne }
        \addlyrics { \wordsTwo }
        \addlyrics { \wordsThree }
        \addlyrics { \wordsFour }
    >>
    \layout {
        \context {
        \Score
        }
        \context {
            \Lyrics
        }
    }
  \midi { }
}

On 7/21/2015 12:43 PM, Simon Albrecht wrote:
Hello Brother Gabriel,

Am 21.07.2015 um 19:11 schrieb BGM:
My piece is in B Major and the repetition of the key signature takes up a lot
of room on the page.

I would like to show it on the first staff only and suppress the rest.
That is unusual, but I’ve seen it done in hymn books on small formats.
What do I do?
The LilyPond command you want is very straightforward: \omit KeySignature.
I attach an example which also features a parallel music _expression_ containing layout information and omits the clefs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]