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.
14 slurDotted = \override Slur #'dashed = #1
15 slurSolid = \revert Slur #'dashed
18 phrasingSlurUp = \override PhrasingSlur #'direction = #1
19 phrasingSlurDown = \override PhrasingSlur #'direction = #-1
20 phrasingSlurNeutral = \revert PhrasingSlur #'direction
22 shiftOn = \override NoteColumn #'horizontal-shift = #1
23 shiftOnn = \override NoteColumn #'horizontal-shift = #2
24 shiftOnnn = \override NoteColumn #'horizontal-shift = #3
25 shiftOff = \revert NoteColumn #'horizontal-shift
27 tieUp = \override Tie #'direction = #1
28 tieDown = \override Tie #'direction = #-1
29 tieNeutral = \revert Tie #'direction
31 tieDotted = \override Tie #'dashed = #1
32 tieSolid = \revert Tie #'dashed
34 setEasyHeads = \sequential {
35 \override NoteHead #'print-function = #Note_head::brew_ez_stencil
36 \override NoteHead #'Y-extent-callback = #'()
37 \override NoteHead #'X-extent-callback = #'()
40 aikenHeads = \set shapeNoteStyles = ##(do re mi fa #f la ti)
43 \set shapeNoteStyles = ##(#f #f mi #f fa la #f)
46 \override DynamicText #'direction = #1
47 \override DynamicLineSpanner #'direction = #1
51 \override DynamicText #'direction = #-1
52 \override DynamicLineSpanner #'direction = #-1
56 \revert DynamicText #'direction
57 \revert DynamicLineSpanner #'direction
61 dotsUp = \override Dots #'direction = #1
62 dotsDown = \override Dots #'direction = #-1
63 dotsNeutral = \revert Dots #'direction
65 tupletUp = \override TupletBracket #'direction = #1
66 tupletDown = \override TupletBracket #'direction = #-1
67 tupletNeutral = \revert TupletBracket #'direction
69 cadenzaOn = \set Timing.timing = ##f
71 \set Timing.timing = ##t
72 \set Timing.measurePosition = #(ly:make-moment 0 1)
75 % dynamic ly:dir? text script, articulation script ly:dir?
76 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
77 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
78 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
79 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
80 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
94 % End the incipit and print a ``normal line start''.
95 endincipit = \context Staff {
96 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
97 \once \override Staff.Clef #'full-size-change = ##t
98 \once \override Staff.Clef #'non-default = ##t
102 autoBeamOff = \set autoBeaming = ##f
103 autoBeamOn = \set autoBeaming = ##t
105 fatText = \override TextScript #'no-spacing-rods = ##f
106 emptyText = \override TextScript #'no-spacing-rods = ##t
108 showStaffSwitch = \set followVoice = ##t
109 hideStaffSwitch = \set followVoice = ##f
113 % For drawing vertical chord brackets with \arpeggio
114 % This is a shorthand for the value of the print-function property
115 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
116 % cross-staff brackets are desired.
118 arpeggio = #(make-music 'ArpeggioEvent)
120 arpeggioUp = \sequential {
121 \revert Arpeggio #'print-function
122 \override Arpeggio #'arpeggio-direction = #1
124 arpeggioDown = \sequential {
125 \revert Arpeggio #'print-function
126 \override Arpeggio #'arpeggio-direction = #-1
128 arpeggioNeutral = \sequential {
129 \revert Arpeggio #'print-function
130 \revert Arpeggio #'arpeggio-direction
132 arpeggioBracket = \sequential {
133 \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
136 glissando = #(make-music 'GlissandoEvent)
138 fermataMarkup = \markup { \musicglyph #"scripts-ufermata" }
140 hideNotes =\sequential {
141 % hide notes, accidentals, etc.
142 \override Dots #'transparent = ##t
143 \override NoteHead #'transparent = ##t
144 \override NoteHead #'no-ledgers = ##t
145 \override Stem #'transparent = ##t
146 \override Beam #'transparent = ##t
147 \override Accidental #'transparent = ##t
151 unHideNotes = \sequential {
152 \revert Accidental #'transparent
153 \revert Beam #'transparent
154 \revert Stem #'transparent
155 \revert NoteHead #'transparent
156 \revert NoteHead #'no-ledgers
157 \revert Dots #'transparent
161 \set chordRootNamer = #(chord-name->german-markup #t)
162 \set chordNoteNamer = #note-name->german-markup
165 \set chordRootNamer = #(chord-name->german-markup #f)
166 \set chordNoteNamer = #note-name->german-markup
172 \set squashedPosition = #0
173 \override NoteHead #'style = #'slash
177 \unset squashedPosition
178 \revert NoteHead #'style