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
56 aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
59 \set shapeNoteStyles = ##(#f #f mi #f fa la #f)
62 \override DynamicText #'direction = #1
63 \override DynamicLineSpanner #'direction = #1
67 \override DynamicText #'direction = #-1
68 \override DynamicLineSpanner #'direction = #-1
72 \revert DynamicText #'direction
73 \revert DynamicLineSpanner #'direction
77 dotsUp = \override Dots #'direction = #1
78 dotsDown = \override Dots #'direction = #-1
79 dotsNeutral = \revert Dots #'direction
81 tupletUp = \override TupletBracket #'direction = #1
82 tupletDown = \override TupletBracket #'direction = #-1
83 tupletNeutral = \revert TupletBracket #'direction
85 cadenzaOn = \set Timing.timing = ##f
87 \set Timing.timing = ##t
88 \set Timing.measurePosition = #(ly:make-moment 0 1)
91 % dynamic ly:dir? text script, articulation script ly:dir?
92 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
93 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
94 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
95 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
96 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
110 %% End the incipit and print a ``normal line start''.
111 endincipit = \context Staff {
112 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
113 \once \override Staff.Clef #'full-size-change = ##t
114 \once \override Staff.Clef #'non-default = ##t
118 autoBeamOff = \set autoBeaming = ##f
119 autoBeamOn = \set autoBeaming = ##t
121 fatText = \override TextScript #'no-spacing-rods = ##f
122 emptyText = \override TextScript #'no-spacing-rods = ##t
124 showStaffSwitch = \set followVoice = ##t
125 hideStaffSwitch = \set followVoice = ##f
129 % For drawing vertical chord brackets with \arpeggio
130 % This is a shorthand for the value of the print-function property
131 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
132 % cross-staff brackets are desired.
134 arpeggio = #(make-music 'ArpeggioEvent)
136 arpeggioUp = \sequential {
137 \revert Arpeggio #'print-function
138 \override Arpeggio #'arpeggio-direction = #1
140 arpeggioDown = \sequential {
141 \revert Arpeggio #'print-function
142 \override Arpeggio #'arpeggio-direction = #-1
144 arpeggioNeutral = \sequential {
145 \revert Arpeggio #'print-function
146 \revert Arpeggio #'arpeggio-direction
148 arpeggioBracket = \sequential {
149 \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
152 glissando = #(make-music 'GlissandoEvent)
154 fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
156 hideNotes =\sequential {
157 % hide notes, accidentals, etc.
158 \override Dots #'transparent = ##t
159 \override NoteHead #'transparent = ##t
160 \override NoteHead #'no-ledgers = ##t
161 \override Stem #'transparent = ##t
162 \override Beam #'transparent = ##t
163 \override Accidental #'transparent = ##t
167 unHideNotes = \sequential {
168 \revert Accidental #'transparent
169 \revert Beam #'transparent
170 \revert Stem #'transparent
171 \revert NoteHead #'transparent
172 \revert NoteHead #'no-ledgers
173 \revert Dots #'transparent
177 \set chordRootNamer = #(chord-name->german-markup #t)
178 \set chordNoteNamer = #note-name->german-markup
181 \set chordRootNamer = #(chord-name->german-markup #f)
182 \set chordNoteNamer = #note-name->german-markup
186 \set chordRootNamer = #(chord-name->italian-markup #t)
187 \set chordPrefixSpacer = #0.4
191 \set chordRootNamer = #(chord-name->italian-markup #f)
192 \set chordPrefixSpacer = #0.4
196 \set squashedPosition = #0
197 \override NoteHead #'style = #'slash
201 \unset squashedPosition
202 \revert NoteHead #'style
205 textSpannerUp = \override TextSpanner #'direction = #1
206 textSpannerDown = \override TextSpanner #'direction = #-1
207 textSpannerNeutral = \revert TextSpanner #'direction