]> git.donarmstrong.com Git - lilypond.git/blob - input/test/test-lyrics.ly
release: 1.1.67
[lilypond.git] / input / test / test-lyrics.ly
1 \version "1.1.66";
2
3 $somewhat_long = \lyrics{
4         \property Lyrics . textStyle = "roman" 
5         AaaaaaA2
6         BbbbbbB2
7         CcccccC2 
8         DdddddD2
9         EeeeeeE2
10         FfffffF2
11 }
12
13 $rather_long = \lyrics{
14         \property Lyrics . textStyle = "roman" 
15         LLLLoooonggggg2 
16         Syyllllaaabbble2 
17         LLLLoooonggggg2 
18         Syyllllllaaabbble2
19         LLLLoooonggggg2 
20         Syyyylllaaabbble2
21 }
22
23 $quite_long = \lyrics{
24         \property Lyrics . textStyle = "roman"
25         LLLLLLLLLooooongggggggg2 
26         Syyyyyyyyyyyyylllllllaaaaaabbble2 
27         LLLLLLLLLooooongggggggg2 
28         Syyyyyyyyyyyyylllllllaaaaaabbble2
29         LLLLLLLLLooooongggggggg2 
30         Syyyyyyyyyyyyylllllllaaaaaabbble2
31 }
32
33 $somewhat_long_lyrics_staff = \context Lyrics = somewhat <
34         \$somewhat_long
35 >
36
37 $rather_long_lyrics_staff = \context Lyrics = rather <
38         \$rather_long
39 >
40
41 $quite_long_lyrics_staff = \context Lyrics = quite <
42         \$quite_long
43 >
44
45 melody = \notes
46 \transpose c'{
47         c4 e4 g4 e4  c4 e4 g4 e4  c4 e4 g4 e4  c4 e4 g4 e4
48         c4 e4 g4 e4  c4 e4 g4 e4  c4 e4 g4 e4  c4 e4 g4 e4
49 }
50
51 $melodic_staff = \context Staff = mel <
52         \melody
53 >
54
55 \score
56 {
57         <
58                 \$melodic_staff
59                 \$somewhat_long_lyrics_staff    
60 %               \$rather_long_lyrics_staff      
61                 \$quite_long_lyrics_staff       
62         >
63         \paper{
64 %               castingalgorithm = \Wordwrap;   
65         }
66 }