Am 21.07.2015 um 20:29 schrieb Brother Gabriel-Marie:
Mr. Albrecht,
Where do I add the
\omit Staff.KeySignature
in my composition?
After the first note or measure, so it affects all but the first key
signatures.
You are using a different setup.
Or do I have to change the way I'm laying it out?
You have to do nothing. Laying out one’s LilyPond files can be a quite
personal decision on what you like best; I was merely proposing a way
which proves to be robust for larger and more complicated setups also.
In general, I’d suggest the Learning Manual as a must-read gentle
introduction to LilyPond:
<http://lilypond.org/doc/v2.18/Documentation/learning/index.html>.
Happy Ponding,
Simon
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.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user