5 title = "Wenn wir in höchsten Nöten sein"
6 subtitle = "Analysis from Gene Biringer's Schenker Text, Ex. 5-27"
8 enteredby = "Kris Shaffer"
11 % See http://kris.shaffermusic.com/tech.html. for more information
13 % 'Add color...' sections are not the original author's, but added
14 % afterwards specifically for illustration in LilyPond's Documentation.
16 I = \once \override NoteColumn #'ignore-collision = ##t
20 staffPiano = \new PianoStaff {
21 \set Score.timing = ##f
22 \set PianoStaff.followVoice = ##t
24 \new Staff = "RH" { % Right hand
28 \override Staff.NoteCollision
29 #'merge-differently-headed = ##t
32 \override Beam #'positions = #'(8 . 8)
33 \override NoteHead #'transparent = ##t
34 \override NoteHead #'duration-log = #1
36 \override #'(baseline-skip . 0.5)
37 % Add color to markup in top staff
38 \column { \with-color #red \small { ^ 3 } }
41 \override #'(baseline-skip . 0.5)
42 % Add color to markup in top staff
43 \column { \with-color #red \small { ^ 2 } }
46 % Add color to markup in top staff
47 \override #'(baseline-skip . 0.5)
48 \column { \with-color #red \small { ^ 1 } }
51 \revert Beam #'positions
52 \revert NoteHead #'transparent
53 \revert NoteHead #'duration-log
57 % Add color to both Dashed Slurs in top staff
58 \override Slur #'color = #(x11-color "purple")
59 \override Stem #'transparent = ##t
60 \override Flag #'transparent = ##t
62 \once \override Slur #'height-limit = #6
63 \once \override Slur #'extra-offset = #'(1.25 . 0)
66 \once \override NoteHead #'transparent = ##t
68 \once \override Slur #'height-limit = #3.25
69 \once \override Slur #'extra-offset = #'(.75 . 0)
71 \once \override NoteHead #'transparent = ##t
73 \revert Stem #'transparent
74 \revert Flag #'transparent
77 \override Staff.NoteCollision
78 #'merge-differently-headed = ##t
80 \override Beam #'positions = #'(4 . -3.25)
84 \once \override NoteHead #'transparent = ##t
86 \override Beam #'positions = #'(3 . -2.25)
94 % Add color to all remaining Slurs in top staff
95 \override Slur #'color = #(x11-color "violet")
96 \override PhrasingSlur #'color = #(x11-color "violet")
97 \override Stem #'transparent = ##t
98 \override Flag #'transparent = ##t
99 \override Stem #'length = #0
100 % Add color to text markups in top staff
101 g4_\( fis^(_\markup { \with-color #blue \tiny N } g)\)
102 a^(^\markup { \with-color #blue \tiny P } b2)
103 b4^(^\markup { \with-color #blue \tiny P }
105 \revert Stem #'transparent
106 \revert Flag #'transparent
107 \override Stem #'length = #10
109 \override Stem #'length = #14
111 \override Stem #'length = #0
112 \override Stem #'transparent = ##t
113 \override Flag #'transparent = ##t
114 \once \override Slur #'extra-offset = #'(0 . 0.35)
115 % Add color to remaining text markup in top staff
116 c4^\( b_(_\markup { \with-color #blue \tiny P } a)\) s2
117 \revert Stem #'length
121 \override Stem #'transparent = ##t
122 \override Flag #'transparent = ##t
123 \override NoteHead #'transparent = ##t
124 \override Stem #'length = #0
128 \revert Stem #'transparent
129 \revert Flag #'transparent
130 \revert NoteHead #'transparent
131 \revert Stem #'length
135 \override Stem #'transparent = ##t
136 \override Flag #'transparent = ##t
137 \override NoteHead #'transparent = ##t
138 \override Stem #'length = #0
143 \revert Stem #'transparent
144 \revert Flag #'transparent
145 \revert NoteHead #'transparent
146 \revert Stem #'length
153 \new Staff = "LH" { % Left hand
157 \override Staff.NoteCollision
158 #'merge-differently-headed = ##t
161 \override Beam #'positions = #'(-8 . -8)
162 \override NoteHead #'transparent = ##t
164 % Add color to long beam text markups in bottom staff
165 \I g8[_\markup { \with-color #(x11-color 'LawnGreen) \bold I }
167 \I d8_\markup { \with-color #(x11-color 'LawnGreen) \bold V }
169 \I g,8]_\markup { \with-color #(x11-color 'LawnGreen) \bold I }
171 \revert Beam #'positions
172 \revert NoteHead #'transparent
176 \override Stem #'transparent = ##t
177 \override Flag #'transparent = ##t
179 \override TextScript #'extra-offset = #'(-11.75 . -12.25)
180 \I g'2 s1 s s2 \I d2 g,2
181 \revert Stem #'transparent
182 \revert Flag #'transparent
186 % Add color to all single-note Slurs in bottom staff
187 \override Slur #'color = #(x11-color "violet")
188 \override Stem #'transparent = ##t
189 \override Flag #'transparent = ##t
190 \once \override NoteHead #'transparent = ##t
191 \override Stem #'length = #0
193 \once \override TextScript #'padding = #0.25
194 % Add color to text markups in bottom staff
195 a4_(^\markup { \with-color #blue \tiny P } b)
196 fis4^(^\markup { \with-color #blue \tiny P } e)
197 \once \override NoteHead #'transparent = ##t
198 \once \override Slur #'height-limit = #1.5
199 % Add color to remaining text markup in bottom staff
200 c4^( d)^\markup { \with-color #blue \tiny N }
201 \once \override NoteHead #'transparent = ##t
202 \once \override Slur #'extra-offset = #'(0 . 0.5)
204 \revert Stem #'transparent
205 \revert Flag #'transparent
206 \override Stem #'length = #10
209 \once \override Slur #'extra-offset = #'(0 . 0.25)
211 \override Stem #'transparent = ##t
212 \override Flag #'transparent = ##t
213 \revert Stem #'length
215 \once \override NoteHead #'transparent = ##t
220 % Add color to all two-note Slurs in bottom staff
221 \override Slur #'color = #(x11-color "violet")
222 \override Stem #'transparent = ##t
223 \override Flag #'transparent = ##t
224 \override NoteHead #'transparent = ##t
226 \revert Stem #'transparent
227 \revert Flag #'transparent
228 \revert NoteHead #'transparent
229 \override Beam #'positions = #'(-4 . 1)
234 \override Beam #'positions = #'(1 . -4)
238 \revert Beam #'positions
239 \override Stem #'transparent = ##t
240 \override Flag #'transparent = ##t
241 \override NoteHead #'transparent = ##t
246 % Add color to four-note Slur in bottom staff
247 \override Slur #'color = #(x11-color "violet")
248 \override Stem #'transparent = ##t
249 \override Flag #'transparent = ##t
250 \override NoteHead #'transparent = ##t
251 \override Stem #'length = #0
253 \once \override Slur #'height-limit = #3
254 \once \override Slur #'extra-offset = #'(0 . 0.25)
255 \I g4_( s2. e4) s2. s2 s1 s2
256 \revert Stem #'transparent
257 \revert Flag #'transparent
258 \revert NoteHead #'transparent
262 % Add color to dashed Slur in bottom staff
263 \override Slur #'color = #(x11-color "purple")
264 \override Stem #'transparent = ##t
265 \override Flag #'transparent = ##t
266 \override NoteHead #'transparent = ##t
268 \once \override Slur #'height-limit = #6.0
269 \once \override Slur #'extra-offset = #'(0.5 . -0.25)
270 \override Stem #'length = #0
271 g4_( s2. s1 g,4) s s1 s2
272 \revert Stem #'transparent
273 \revert Flag #'transparent
274 \revert NoteHead #'transparent
290 \context { \Staff \remove "Time_signature_engraver" }