]> git.donarmstrong.com Git - lilypond.git/blob - input/test/clef-end-of-line.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / test / clef-end-of-line.ly
1 \version "2.1.26"
2 \header {
3
4     texidoc = "@cindex Clef End of Line
5 Scales, but with clef and key signature at the end of the line.
6 " }
7
8 \score {
9     \notes \transpose c c' {
10         \override Staff.Clef  #'break-visibility = #end-of-line-visible
11         \override Staff.KeySignature  #'break-visibility = #end-of-line-visible
12         \set Staff.explicitClefVisibility = #end-of-line-visible
13         \set Staff.explicitKeySignatureVisibility = #end-of-line-visible
14
15         % We want the time sig to take space, otherwise there is not
16         % enough white at the start of the line.
17         %
18         
19         \override Staff.TimeSignature  #'transparent = ##t
20         \set Score.defaultBarType = #"empty"
21         
22         c1 d e f g a b c
23         \key d \major
24         \break
25
26         % see above.
27         \time 4/4
28         
29         d e fis g a b cis d 
30         \key g \major
31         \break
32         \time 4/4    
33 } }
34