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
41 tieDotted = \override Tie #'dashed = #1
42 tieSolid = \revert Tie #'dashed
44 setEasyHeads = \sequential {
45 \override NoteHead #'print-function = #Note_head::brew_ez_stencil
46 \override NoteHead #'Y-extent-callback = #'()
47 \override NoteHead #'X-extent-callback = #'()
50 aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
53 \set shapeNoteStyles = ##(#f #f mi #f fa la #f)
56 \override DynamicText #'direction = #1
57 \override DynamicLineSpanner #'direction = #1
61 \override DynamicText #'direction = #-1
62 \override DynamicLineSpanner #'direction = #-1
66 \revert DynamicText #'direction
67 \revert DynamicLineSpanner #'direction
71 dotsUp = \override Dots #'direction = #1
72 dotsDown = \override Dots #'direction = #-1
73 dotsNeutral = \revert Dots #'direction
75 tupletUp = \override TupletBracket #'direction = #1
76 tupletDown = \override TupletBracket #'direction = #-1
77 tupletNeutral = \revert TupletBracket #'direction
79 cadenzaOn = \set Timing.timing = ##f
81 \set Timing.timing = ##t
82 \set Timing.measurePosition = #(ly:make-moment 0 1)
85 % dynamic ly:dir? text script, articulation script ly:dir?
86 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
87 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
88 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
89 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
90 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
104 % End the incipit and print a ``normal line start''.
105 endincipit = \context Staff {
106 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
107 \once \override Staff.Clef #'full-size-change = ##t
108 \once \override Staff.Clef #'non-default = ##t
112 autoBeamOff = \set autoBeaming = ##f
113 autoBeamOn = \set autoBeaming = ##t
115 fatText = \override TextScript #'no-spacing-rods = ##f
116 emptyText = \override TextScript #'no-spacing-rods = ##t
118 showStaffSwitch = \set followVoice = ##t
119 hideStaffSwitch = \set followVoice = ##f
123 % For drawing vertical chord brackets with \arpeggio
124 % This is a shorthand for the value of the print-function property
125 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
126 % cross-staff brackets are desired.
128 arpeggio = #(make-music 'ArpeggioEvent)
130 arpeggioUp = \sequential {
131 \revert Arpeggio #'print-function
132 \override Arpeggio #'arpeggio-direction = #1
134 arpeggioDown = \sequential {
135 \revert Arpeggio #'print-function
136 \override Arpeggio #'arpeggio-direction = #-1
138 arpeggioNeutral = \sequential {
139 \revert Arpeggio #'print-function
140 \revert Arpeggio #'arpeggio-direction
142 arpeggioBracket = \sequential {
143 \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
146 glissando = #(make-music 'GlissandoEvent)
148 fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
150 hideNotes =\sequential {
151 % hide notes, accidentals, etc.
152 \override Dots #'transparent = ##t
153 \override NoteHead #'transparent = ##t
154 \override NoteHead #'no-ledgers = ##t
155 \override Stem #'transparent = ##t
156 \override Beam #'transparent = ##t
157 \override Accidental #'transparent = ##t
161 unHideNotes = \sequential {
162 \revert Accidental #'transparent
163 \revert Beam #'transparent
164 \revert Stem #'transparent
165 \revert NoteHead #'transparent
166 \revert NoteHead #'no-ledgers
167 \revert Dots #'transparent
171 \set chordRootNamer = #(chord-name->german-markup #t)
172 \set chordNoteNamer = #note-name->german-markup
175 \set chordRootNamer = #(chord-name->german-markup #f)
176 \set chordNoteNamer = #note-name->german-markup
182 \set squashedPosition = #0
183 \override NoteHead #'style = #'slash
187 \unset squashedPosition
188 \revert NoteHead #'style