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.

\version "2.19.23"

\paper { 
  #(set-paper-size "a6")
  ragged-right = ##t
}

music = \relative {
  fis'1
  fis
  fis
}

aux = {
  \key b \major
  s1
  \omit Staff.KeySignature
  \omit Staff.Clef
  \omit Staff.ClefModifier
  s
  \break
  s
  \bar "|."
}

\score {
  <<
    \new Voice << \music \aux >>
    \new Voice << \clef "treble_8" \music \aux >>
  >>
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to