File: repeat.ly

package info (click to toggle)
lilypond 2.2.6-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,260 kB
  • ctags: 7,622
  • sloc: cpp: 47,787; lisp: 11,217; python: 11,203; sh: 3,290; yacc: 2,011; lex: 831; perl: 373; ansic: 309; makefile: 132; csh: 8
file content (31 lines) | stat: -rw-r--r-- 716 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\version "2.2.0"

% possible rename to lyric-repeat or repeat-lyric.

\header{ texidoc = "@cindex Repeat Lyrics
Alternate lyrics can be used, as well as alternate notes for repeats. "
}

%% Syntax << { aaa } { bbb } >> seems not to work in lyrics. 
%% The notes are lyrics do not match syntactically here. - HJJ

\score{
	<<
		  \context Staff \notes\relative c'{ 
			  c d e f
			  \repeat "volta" 2 { g a b c }
			  \alternative { { c b a g } { f e d c } }
		  }
		  \context Lyrics \lyrics {
			  De eer- ste << { maat } { moet } >>
			  \repeat fold 2 { }
			  \alternative {
				  { en dan twee keer } 
				  { een koe- plet _ } 
			  }
			  en dan nog dit er ach- ter aan
		  }
	>>
	\paper{raggedright=##t}
}