5 stemUp = \override Stem #'direction = #1
6 stemDown = \override Stem #'direction = #-1
7 stemNeutral= \revert Stem #'direction
9 slurUp = \override Slur #'direction = #1
10 slurDown = \override Slur #'direction = #-1
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 = #1
29 phrasingSlurDown = \override PhrasingSlur #'direction = #-1
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 = #1
38 tieDown = \override Tie #'direction = #-1
39 tieNeutral = \revert Tie #'direction
42 \override Tie #'dash-period = #0.75
43 \override Tie #'dash-fraction = #0.1
46 \revert Tie #'dash-period
47 \revert Tie #'dash-fraction
50 setEasyHeads = \sequential {
51 \override NoteHead #'print-function = #Note_head::brew_ez_stencil
52 \override NoteHead #'font-size = #-7
53 \override NoteHead #'font-family = #'sans
54 \override NoteHead #'font-series = #'bold
57 aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
60 \set shapeNoteStyles = ##(#f #f mi #f fa la #f)
63 \override DynamicText #'direction = #1
64 \override DynamicLineSpanner #'direction = #1
68 \override DynamicText #'direction = #-1
69 \override DynamicLineSpanner #'direction = #-1
73 \revert DynamicText #'direction
74 \revert DynamicLineSpanner #'direction
78 dotsUp = \override Dots #'direction = #1
79 dotsDown = \override Dots #'direction = #-1
80 dotsNeutral = \revert Dots #'direction
82 tupletUp = \override TupletBracket #'direction = #1
83 tupletDown = \override TupletBracket #'direction = #-1
84 tupletNeutral = \revert TupletBracket #'direction
86 cadenzaOn = \set Timing.timing = ##f
88 \set Timing.timing = ##t
89 \set Timing.measurePosition = #(ly:make-moment 0 1)
92 % dynamic ly:dir? text script, articulation script ly:dir?
93 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
94 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
95 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
96 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
97 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
111 %% End the incipit and print a ``normal line start''.
112 endincipit = \context Staff {
113 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
114 \once \override Staff.Clef #'full-size-change = ##t
115 \once \override Staff.Clef #'non-default = ##t
119 autoBeamOff = \set autoBeaming = ##f
120 autoBeamOn = \set autoBeaming = ##t
122 fatText = \override TextScript #'no-spacing-rods = ##f
123 emptyText = \override TextScript #'no-spacing-rods = ##t
125 showStaffSwitch = \set followVoice = ##t
126 hideStaffSwitch = \set followVoice = ##f
130 % For drawing vertical chord brackets with \arpeggio
131 % This is a shorthand for the value of the print-function property
132 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
133 % cross-staff brackets are desired.
135 arpeggio = #(make-music 'ArpeggioEvent)
137 arpeggioUp = \sequential {
138 \revert Arpeggio #'print-function
139 \override Arpeggio #'arpeggio-direction = #1
141 arpeggioDown = \sequential {
142 \revert Arpeggio #'print-function
143 \override Arpeggio #'arpeggio-direction = #-1
145 arpeggioNeutral = \sequential {
146 \revert Arpeggio #'print-function
147 \revert Arpeggio #'arpeggio-direction
149 arpeggioBracket = \sequential {
150 \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
153 glissando = #(make-music 'GlissandoEvent)
155 fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
157 hideNotes =\sequential {
158 % hide notes, accidentals, etc.
159 \override Dots #'transparent = ##t
160 \override NoteHead #'transparent = ##t
161 \override NoteHead #'no-ledgers = ##t
162 \override Stem #'transparent = ##t
163 \override Beam #'transparent = ##t
164 \override Accidental #'transparent = ##t
168 unHideNotes = \sequential {
169 \revert Accidental #'transparent
170 \revert Beam #'transparent
171 \revert Stem #'transparent
172 \revert NoteHead #'transparent
173 \revert NoteHead #'no-ledgers
174 \revert Dots #'transparent
178 \set chordRootNamer = #(chord-name->german-markup #t)
179 \set chordNoteNamer = #note-name->german-markup
182 \set chordRootNamer = #(chord-name->german-markup #f)
183 \set chordNoteNamer = #note-name->german-markup
187 \set chordRootNamer = #(chord-name->italian-markup #t)
188 \set chordPrefixSpacer = #0.4
192 \set chordRootNamer = #(chord-name->italian-markup #f)
193 \set chordPrefixSpacer = #0.4
197 \set squashedPosition = #0
198 \override NoteHead #'style = #'slash
202 \unset squashedPosition
203 \revert NoteHead #'style
206 textSpannerUp = \override TextSpanner #'direction = #1
207 textSpannerDown = \override TextSpanner #'direction = #-1
208 textSpannerNeutral = \revert TextSpanner #'direction