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 \override TextScript #'direction = #1
55 \override Script #'direction = #1
58 \override TextScript #'direction = #-1
59 \override Script #'direction = #-1
62 \revert TextScript #'direction
63 \revert Script #'direction
66 dotsUp = \override Dots #'direction = #1
67 dotsDown = \override Dots #'direction = #-1
68 dotsBoth = \revert Dots #'direction
70 tupletUp = \override TupletBracket #'direction = #1
71 tupletDown = \override TupletBracket #'direction = #-1
72 tupletBoth = \revert TupletBracket #'direction
74 cadenzaOn = \set Timing.timing = ##f
76 \set Timing.timing = ##t
77 \set Timing.measurePosition = #(ly:make-moment 0 1)
83 % urg, only works for TeX output
84 \context Score \applyoutput
85 #(outputproperty-compatibility (make-type-checker 'paper-column-interface)
86 'between-system-string "\\newpage")
89 % dynamic ly:dir? text script, articulation script ly:dir?
90 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
91 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
92 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
93 voiceThree =#(context-spec-music (make-voice-props-set 2) 'Voice)
94 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
108 % End the incipit and print a ``normal line start''.
109 endincipit = \notes \context Staff {
110 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
111 \once \override Staff.Clef #'full-size-change = ##t
112 \once \override Staff.Clef #'non-default = ##t
116 autoBeamOff = \set autoBeaming = ##f
117 autoBeamOn = \set autoBeaming = ##t
119 fatText = \override TextScript #'no-spacing-rods = ##f
120 emptyText = \override TextScript #'no-spacing-rods = ##t
122 showStaffSwitch = \set followVoice = ##t
123 hideStaffSwitch = \set followVoice = ##f
127 % To remove a Volta bracket or some other graphical object,
128 % set it to turnOff. Example: \set Staff.VoltaBracket = \turnOff
131 %% DO NOT USE THIS. IT CAN LEAD TO CRASHES.
132 turnOff = #(cons '() '())
134 % For drawing vertical chord brackets with \arpeggio
135 % This is a shorthand for the value of the print-function property
136 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
137 % cross-staff brackets are desired.
139 arpeggio = #(make-music 'ArpeggioEvent)
141 arpeggioUp = \sequential {
142 \revert Arpeggio #'print-function
143 \override Arpeggio #'arpeggio-direction = #1
145 arpeggioDown = \sequential {
146 \revert Arpeggio #'print-function
147 \override Arpeggio #'arpeggio-direction = #-1
149 arpeggioBoth = \sequential {
150 \revert Arpeggio #'print-function
151 \revert Arpeggio #'arpeggio-direction
153 arpeggioBracket = \sequential {
154 \override Arpeggio #'print-function = #Arpeggio::brew_chord_bracket
157 glissando = #(make-music 'GlissandoEvent)
159 fermataMarkup = \markup { \musicglyph #"scripts-ufermata" }
162 \once \override MultiMeasureRestNumber #'text =
166 hideNotes =\sequential {
167 % hide notes, accidentals, etc.
168 \override Dots #'transparent = ##t
169 \override NoteHead #'transparent = ##t
170 \override Stem #'transparent = ##t
171 \override Beam #'transparent = ##t
172 \override Staff.Accidental #'transparent = ##t
176 unHideNotes = \sequential {
177 \revert Staff.Accidental #'transparent
178 \revert Beam #'transparent
179 \revert Stem #'transparent
180 \revert NoteHead #'transparent
181 \revert Dots #'transparent
185 \set chordRootNamer = #(chord-name->german-markup #t)
186 \set chordNoteNamer = #note-name->german-markup
189 \set chordRootNamer = #(chord-name->german-markup #f)
190 \set chordNoteNamer = #note-name->german-markup