5 stemUp = \override Stem #'direction = #UP
6 stemDown = \override Stem #'direction = #DOWN
7 stemNeutral= \revert Stem #'direction
9 slurUp = \override Slur #'direction = #UP
10 slurDown = \override Slur #'direction = #DOWN
11 slurNeutral = \revert Slur #'direction
13 %% There's also dash, but setting dash period/length should be fixed.
15 \override Slur #'dash-period = #0.75
16 \override Slur #'dash-fraction = #0.4
19 \override Slur #'dash-period = #0.75
20 \override Slur #'dash-fraction = #0.1
23 \revert Slur #'dash-period
24 \revert Slur #'dash-fraction
28 phrasingSlurUp = \override PhrasingSlur #'direction = #UP
29 phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN
30 phrasingSlurNeutral = \revert PhrasingSlur #'direction
32 mergeDifferentlyDottedOn = {
33 \override Staff.NoteCollision #'merge-differently-dotted = ##t
35 mergeDifferentlyDottedOff = {
36 \revert Staff.NoteCollision #'merge-differently-dotted
39 mergeDifferentlyHeadedOn = {
40 \override Staff.NoteCollision #'merge-differently-headed = ##t
42 mergeDifferentlyHeadedOff = {
43 \revert Staff.NoteCollision #'merge-differently-headed
46 shiftOn = \override NoteColumn #'horizontal-shift = #1
47 shiftOnn = \override NoteColumn #'horizontal-shift = #2
48 shiftOnnn = \override NoteColumn #'horizontal-shift = #3
49 shiftOff = \revert NoteColumn #'horizontal-shift
51 tieUp = \override Tie #'direction = #UP
52 tieDown = \override Tie #'direction = #DOWN
53 tieNeutral = \revert Tie #'direction
56 \override Tie #'dash-period = #0.75
57 \override Tie #'dash-fraction = #0.4
60 \override Tie #'dash-period = #0.75
61 \override Tie #'dash-fraction = #0.1
64 \revert Tie #'dash-period
65 \revert Tie #'dash-fraction
69 \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
70 \override NoteHead #'font-size = #-7
71 \override NoteHead #'font-family = #'sans
72 \override NoteHead #'font-series = #'bold
76 \revert NoteHead #'stencil
77 \revert NoteHead #'font-size
78 \revert NoteHead #'font-family
79 \revert NoteHead #'font-series
82 aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
85 \set shapeNoteStyles = ##(fa #f la fa #f la mi)
88 \override DynamicText #'direction = #UP
89 \override DynamicLineSpanner #'direction = #UP
93 \override DynamicText #'direction = #DOWN
94 \override DynamicLineSpanner #'direction = #DOWN
98 \revert DynamicText #'direction
99 \revert DynamicLineSpanner #'direction
103 dotsUp = \override Dots #'direction = #UP
104 dotsDown = \override Dots #'direction = #DOWN
105 dotsNeutral = \revert Dots #'direction
107 tupletUp = \override TupletBracket #'direction = #UP
108 tupletDown = \override TupletBracket #'direction = #DOWN
109 tupletNeutral = \revert TupletBracket #'direction
111 cadenzaOn = \set Timing.timing = ##f
113 \set Timing.timing = ##t
114 \set Timing.measurePosition = #ZERO-MOMENT
117 % dynamic ly:dir? text script, articulation script ly:dir?
118 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
119 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
120 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
121 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
122 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
125 \override NoteHead #'style = #'diamond
126 \override NoteHead #'color = #red
127 \override Stem #'color = #red
128 \override Beam #'color = #red
131 \override NoteHead #'style = #'triangle
132 \override NoteHead #'color = #blue
133 \override Stem #'color = #blue
134 \override Beam #'color = #blue
137 \override NoteHead #'style = #'xcircle
138 \override NoteHead #'color = #green
139 \override Stem #'color = #green
140 \override Beam #'color = #green
143 \override NoteHead #'style = #'cross
144 \override NoteHead #'color = #magenta
145 \override Stem #'color = #magenta
146 \override Beam #'color = #magenta
148 voiceNeutralStyle = {
149 \revert NoteHead #'style
150 \revert NoteHead #'color
179 %% End the incipit and print a ``normal line start''.
180 endincipit = \context Staff {
181 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
182 \once \override Staff.Clef #'full-size-change = ##t
183 \once \override Staff.Clef #'non-default = ##t
187 autoBeamOff = \set autoBeaming = ##f
188 autoBeamOn = \set autoBeaming = ##t
191 \override TextScript #'extra-spacing-width = #'(0 . 0)
192 \override TextScript #'infinite-spacing-height = ##t
196 \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
197 \override TextScript #'infinite-spacing-height = ##f
201 \override BalloonTextItem #'extra-spacing-width = #'(0 . 0)
202 \override BalloonTextItem #'infinite-spacing-height = ##t
206 \override BalloonTextItem #'extra-spacing-width = #'(+inf.0 . -inf.0)
207 \override BalloonTextItem #'infinite-spacing-height = ##f
211 showStaffSwitch = \set followVoice = ##t
212 hideStaffSwitch = \set followVoice = ##f
214 expandFullBarRests = {
215 \set Score.skipBars = ##f
218 compressFullBarRests = {
219 \set Score.skipBars = ##t
222 numericTimeSignature = {
223 \override Staff.TimeSignature #'style = #'()
226 defaultTimeSignature = {
227 \revert Staff.TimeSignature #'style
231 % For drawing vertical chord brackets with \arpeggio
232 % This is a shorthand for the value of the print-function property
233 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
234 % cross-staff brackets are desired.
236 arpeggio = #(make-music 'ArpeggioEvent)
238 arpeggioArrowUp = \sequential {
239 \revert Arpeggio #'stencil
240 \override Arpeggio #'arpeggio-direction = #UP
242 arpeggioArrowDown = \sequential {
243 \revert Arpeggio #'stencil
244 \override Arpeggio #'arpeggio-direction = #DOWN
246 arpeggioNormal = \sequential {
247 \revert Arpeggio #'stencil
248 \revert Arpeggio #'arpeggio-direction
250 arpeggioBracket = \sequential {
251 \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
253 arpeggioParenthesis = \sequential {
254 \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
257 glissando = #(make-music 'GlissandoEvent)
259 fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
261 hideNotes =\sequential {
262 % hide notes, accidentals, etc.
263 \override Dots #'transparent = ##t
264 \override NoteHead #'transparent = ##t
265 \override NoteHead #'no-ledgers = ##t
266 \override Stem #'transparent = ##t
267 \override Beam #'transparent = ##t
268 \override Accidental #'transparent = ##t
272 unHideNotes = \sequential {
273 \revert Accidental #'transparent
274 \revert Beam #'transparent
275 \revert Stem #'transparent
276 \revert NoteHead #'transparent
277 \revert NoteHead #'no-ledgers
278 \revert Dots #'transparent
282 \set chordRootNamer = #(chord-name->german-markup #t)
283 \set chordNoteNamer = #note-name->german-markup
286 \set chordRootNamer = #(chord-name->german-markup #f)
287 \set chordNoteNamer = #note-name->german-markup
291 \set chordRootNamer = #(chord-name->italian-markup #t)
292 \set chordPrefixSpacer = #0.4
296 \set chordRootNamer = #(chord-name->italian-markup #f)
297 \set chordPrefixSpacer = #0.4
301 \set squashedPosition = #0
302 \override NoteHead #'style = #'slash
303 \override Accidental #'stencil = ##f
307 \unset squashedPosition
308 \revert NoteHead #'style
309 \revert Accidental #'stencil
312 textSpannerUp = \override TextSpanner #'direction = #UP
313 textSpannerDown = \override TextSpanner #'direction = #DOWN
314 textSpannerNeutral = \revert TextSpanner #'direction
318 bassFigureExtendersOn = {
319 \set useBassFigureExtenders = ##t
320 \set Staff.useBassFigureExtenders = ##t
323 bassFigureExtendersOff = {
324 \set useBassFigureExtenders = ##f
325 \set Staff.useBassFigureExtenders = ##f
328 bassFigureStaffAlignmentDown = {
329 \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
332 bassFigureStaffAlignmentUp = {
333 \override Staff.BassFigureAlignmentPositioning #'direction = #UP
336 bassFigureStaffAlignmentNeutral = {
337 \revert Staff.BassFigureAlignmentPositioning #'direction