Previous: Time administration, Up: Staff notation



5.3.10 Controlling formatting of prefatory matter

TODO: Somebody needs to explain this example, but I don't know what they're trying to do, so it won't be me. -gp

     \transpose c c' {
       \override Staff.Clef
         #'break-visibility = #end-of-line-visible
       \override Staff.KeySignature
         #'break-visibility = #end-of-line-visible
       \set Staff.explicitClefVisibility = #end-of-line-visible
       \set Staff.explicitKeySignatureVisibility = #end-of-line-visible
     
       % We want the time sig to take space, otherwise there is not
       % enough white at the start of the line.
     
       \override Staff.TimeSignature #'transparent = ##t
       \set Score.defaultBarType = #"empty"
     
       c1 d e f g a b c
       \key d \major
       \break
     
       % see above.
       \time 4/4
     
       d e fis g a b cis d
       \key g \major
       \break
       \time 4/4
     }

[image of music]

This page is for LilyPond-2.4.5 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.