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 = #'()
41 \override DynamicText #'direction = #1
42 \override DynamicLineSpanner #'direction = #1
45 \override DynamicText #'direction = #-1
46 \override DynamicLineSpanner #'direction = #-1
49 \revert DynamicText #'direction
50 \revert DynamicLineSpanner #'direction
54 dotsUp = \override Dots #'direction = #1
55 dotsDown = \override Dots #'direction = #-1
56 dotsNeutral = \revert Dots #'direction
58 tupletUp = \override TupletBracket #'direction = #1
59 tupletDown = \override TupletBracket #'direction = #-1
60 tupletNeutral = \revert TupletBracket #'direction
62 cadenzaOn = \set Timing.timing = ##f
64 \set Timing.timing = ##t
65 \set Timing.measurePosition = #(ly:make-moment 0 1)
68 % dynamic ly:dir? text script, articulation script ly:dir?
69 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
70 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
71 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
72 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
73 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
87 % End the incipit and print a ``normal line start''.
88 endincipit = \context Staff {
89 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
90 \once \override Staff.Clef #'full-size-change = ##t
91 \once \override Staff.Clef #'non-default = ##t
95 autoBeamOff = \set autoBeaming = ##f
96 autoBeamOn = \set autoBeaming = ##t
98 fatText = \override TextScript #'no-spacing-rods = ##f
99 emptyText = \override TextScript #'no-spacing-rods = ##t
101 showStaffSwitch = \set followVoice = ##t
102 hideStaffSwitch = \set followVoice = ##f
106 % For drawing vertical chord brackets with \arpeggio
107 % This is a shorthand for the value of the print-function property
108 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
109 % cross-staff brackets are desired.
111 arpeggio = #(make-music 'ArpeggioEvent)
113 arpeggioUp = \sequential {
114 \revert Arpeggio #'print-function
115 \override Arpeggio #'arpeggio-direction = #1
117 arpeggioDown = \sequential {
118 \revert Arpeggio #'print-function
119 \override Arpeggio #'arpeggio-direction = #-1
121 arpeggioNeutral = \sequential {
122 \revert Arpeggio #'print-function
123 \revert Arpeggio #'arpeggio-direction
125 arpeggioBracket = \sequential {
126 \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
129 glissando = #(make-music 'GlissandoEvent)
131 fermataMarkup = \markup { \musicglyph #"scripts-ufermata" }
133 hideNotes =\sequential {
134 % hide notes, accidentals, etc.
135 \override Dots #'transparent = ##t
136 \override NoteHead #'transparent = ##t
137 \override NoteHead #'no-ledgers = ##t
138 \override Stem #'transparent = ##t
139 \override Beam #'transparent = ##t
140 \override Accidental #'transparent = ##t
144 unHideNotes = \sequential {
145 \revert Accidental #'transparent
146 \revert Beam #'transparent
147 \revert Stem #'transparent
148 \revert NoteHead #'transparent
149 \revert NoteHead #'no-ledgers
150 \revert Dots #'transparent
154 \set chordRootNamer = #(chord-name->german-markup #t)
155 \set chordNoteNamer = #note-name->german-markup
158 \set chordRootNamer = #(chord-name->german-markup #f)
159 \set chordNoteNamer = #note-name->german-markup
165 \set squashedPosition = #0
166 \override NoteHead #'style = #'slash
170 \unset squashedPosition
171 \revert NoteHead #'style