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 shiftOn = \override NoteColumn #'horizontal-shift = #1
33 shiftOnn = \override NoteColumn #'horizontal-shift = #2
34 shiftOnnn = \override NoteColumn #'horizontal-shift = #3
35 shiftOff = \revert NoteColumn #'horizontal-shift
37 tieUp = \override Tie #'direction = #UP
38 tieDown = \override Tie #'direction = #DOWN
39 tieNeutral = \revert Tie #'direction
42 \override Tie #'dash-period = #0.75
43 \override Tie #'dash-fraction = #0.4
46 \override Tie #'dash-period = #0.75
47 \override Tie #'dash-fraction = #0.1
50 \revert Tie #'dash-period
51 \revert Tie #'dash-fraction
54 setEasyHeads = \sequential {
55 \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
56 \override NoteHead #'font-size = #-7
57 \override NoteHead #'font-family = #'sans
58 \override NoteHead #'font-series = #'bold
61 aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
64 \set shapeNoteStyles = ##(fa #f la fa #f la mi)
67 \override DynamicText #'direction = #UP
68 \override DynamicLineSpanner #'direction = #UP
72 \override DynamicText #'direction = #DOWN
73 \override DynamicLineSpanner #'direction = #DOWN
77 \revert DynamicText #'direction
78 \revert DynamicLineSpanner #'direction
82 dotsUp = \override Dots #'direction = #UP
83 dotsDown = \override Dots #'direction = #DOWN
84 dotsNeutral = \revert Dots #'direction
86 tupletUp = \override TupletBracket #'direction = #UP
87 tupletDown = \override TupletBracket #'direction = #DOWN
88 tupletNeutral = \revert TupletBracket #'direction
90 cadenzaOn = \set Timing.timing = ##f
92 \set Timing.timing = ##t
93 \set Timing.measurePosition = #ZERO-MOMENT
96 % dynamic ly:dir? text script, articulation script ly:dir?
97 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
98 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
99 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
100 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
101 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
115 %% End the incipit and print a ``normal line start''.
116 endincipit = \context Staff {
117 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
118 \once \override Staff.Clef #'full-size-change = ##t
119 \once \override Staff.Clef #'non-default = ##t
123 autoBeamOff = \set autoBeaming = ##f
124 autoBeamOn = \set autoBeaming = ##t
126 fatText = { \override TextScript #'extra-spacing-width = #'(0 . 0)
127 \override TextScript #'infinite-spacing-height = ##t }
129 emptyText = { \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
130 \override TextScript #'infinite-spacing-height = ##f }
132 showStaffSwitch = \set followVoice = ##t
133 hideStaffSwitch = \set followVoice = ##f
137 % For drawing vertical chord brackets with \arpeggio
138 % This is a shorthand for the value of the print-function property
139 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
140 % cross-staff brackets are desired.
142 arpeggio = #(make-music 'ArpeggioEvent)
144 arpeggioUp = \sequential {
145 \revert Arpeggio #'stencil
146 \override Arpeggio #'arpeggio-direction = #UP
148 arpeggioDown = \sequential {
149 \revert Arpeggio #'stencil
150 \override Arpeggio #'arpeggio-direction = #DOWN
152 arpeggioNeutral = \sequential {
153 \revert Arpeggio #'stencil
154 \revert Arpeggio #'arpeggio-direction
156 arpeggioBracket = \sequential {
157 \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
160 glissando = #(make-music 'GlissandoEvent)
162 fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
164 hideNotes =\sequential {
165 % hide notes, accidentals, etc.
166 \override Dots #'transparent = ##t
167 \override NoteHead #'transparent = ##t
168 \override NoteHead #'no-ledgers = ##t
169 \override Stem #'transparent = ##t
170 \override Beam #'transparent = ##t
171 \override Accidental #'transparent = ##t
175 unHideNotes = \sequential {
176 \revert Accidental #'transparent
177 \revert Beam #'transparent
178 \revert Stem #'transparent
179 \revert NoteHead #'transparent
180 \revert NoteHead #'no-ledgers
181 \revert Dots #'transparent
185 \set chordRootNamer = #(chord-name->german-markup #t)
186 \set chordNoteNamer = #note-name->german-markup
189 \set chordRootNamer = #(chord-name->german-markup #f)
190 \set chordNoteNamer = #note-name->german-markup
194 \set chordRootNamer = #(chord-name->italian-markup #t)
195 \set chordPrefixSpacer = #0.4
199 \set chordRootNamer = #(chord-name->italian-markup #f)
200 \set chordPrefixSpacer = #0.4
204 \set squashedPosition = #0
205 \override NoteHead #'style = #'slash
209 \unset squashedPosition
210 \revert NoteHead #'style
213 textSpannerUp = \override TextSpanner #'direction = #UP
214 textSpannerDown = \override TextSpanner #'direction = #DOWN
215 textSpannerNeutral = \revert TextSpanner #'direction