5 stemUp = \override Stem #'direction = #1
6 stemDown = \override Stem #'direction = #-1
7 stemBoth= \revert Stem #'direction
9 slurUp = \override Slur #'direction = #1
10 slurDown = \override Slur #'direction = #-1
11 slurBoth = \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 phrasingSlurBoth = \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 tieBoth = \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 dotsBoth = \revert Dots #'direction
58 tupletUp = \override TupletBracket #'direction = #1
59 tupletDown = \override TupletBracket #'direction = #-1
60 tupletBoth = \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 % To remove a Volta bracket or some other graphical object,
107 % set it to turnOff. Example: \set Staff.VoltaBracket = \turnOff
110 %% DO NOT USE THIS. IT CAN LEAD TO CRASHES.
111 turnOff = #(cons '() '())
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 arpeggioBoth = \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 Stem #'transparent = ##t
145 \override Beam #'transparent = ##t
146 \override Accidental #'transparent = ##t
150 unHideNotes = \sequential {
151 \revert Accidental #'transparent
152 \revert Beam #'transparent
153 \revert Stem #'transparent
154 \revert NoteHead #'transparent
155 \revert Dots #'transparent
159 \set chordRootNamer = #(chord-name->german-markup #t)
160 \set chordNoteNamer = #note-name->german-markup
163 \set chordRootNamer = #(chord-name->german-markup #f)
164 \set chordNoteNamer = #note-name->german-markup
170 \set squashedPosition = #0
171 \override NoteHead #'style = #'slash
175 \unset squashedPosition
176 \revert NoteHead #'style