This file is indexed.

/usr/share/denemo/actions/palettes.xml is in denemo-data 2.0.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<?xml version="1.0"?>
<Denemo>
  <palette _name="Select Duration" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="^&#x1D15D;" _tooltip="Selects &#x1D15D; as the duration for inserting notes or rests" script="(d-Set0)"/>
    <button label="^&#x1D15E;" _tooltip="Selects &#x1D15E; as the duration for inserting notes or rests" script="(d-Set1)"/>
    <button label="^&#x1D15F;" _tooltip="Selects &#x1D15F; as the duration for inserting notes or rests" script="(d-Set2)"/>
    <button label="^&#x1D160;" _tooltip="Selects &#x1D160; as the duration for inserting notes or rests" script="(d-Set3)"/>
    <button label="^&#x1D161;" _tooltip="Selects &#x1D161; as the duration for inserting notes or rests" script="(d-Set4)"/>
    <button label="^&#x1D163;" _tooltip="Selects &#x1D163; as the duration for inserting notes or rests" script="(d-Set5)"/>
    <button label="&lt;i&gt;3&lt;/i&gt;" _tooltip="Alternates inserting start triplet and end triplet markers" script="(d-ToggleTripleting)"/>
  </palette>
  <palette _name="General" row-wise="1" limit="1" dock="1" hidden="0">
    <button label="&lt;span font='16'&gt; &#x1D11E;   &lt;/span&gt;" _tooltip="Choose any sort of clef. If the cursor is at the start change initial clef, else insert chosen clef." script="(d-ClefChooser)"/>
    <button label="&#x266F;&lt;span rise=&quot;10000&quot;&gt;&#x266F;&lt;/span&gt;&#x266D;&lt;span rise=&quot;10000&quot;&gt;&#x266D;&lt;/span&gt;" _tooltip="Insert/Edit a key change at the cursor position" script="(d-InsertKey)"/>
    <button label="4/4 3/4" _tooltip="Edit/Insert a time signature change for the current measure" script="(d-InsertTimeSig)"/>
    <button label="&lt;span  font='denemo 12' letter_spacing=&quot;-14000&quot;&gt;&#x1D15F;&lt;span rise=&quot;8000&quot;&gt;&#x1D15F;&lt;/span&gt;&lt;/span&gt;" _tooltip="Add a note to the current chord&#10;The cursor position determines which note to add" script="(d-AddNoteToChord)"/>
    <button label="(" _tooltip="Begin Slur from note/chord at cursor, or remove a Begin Slur" script="(d-ToggleBeginSlur)"/>
    <button label=")" _tooltip="End Slur at note/chord at cursor, or remove an End Slur" script="(d-ToggleEndSlur)"/>
    <button label="&lt;span rise=&quot;4000&quot;&gt;&#x1D15F;&lt;/span&gt;&#x2B04;&lt;span rise=&quot;4000&quot;&gt;&#x1D15F;&lt;/span&gt;&#x2323;" _tooltip="Tie/Untie from the note/chord at the cursor - will be ignored by the LilyPond typesetter if next note is not at the same pitch" script="(d-ToggleTie)"/>
    <button label="&lt;i&gt;3&lt;/i&gt;" _tooltip="Alternates inserting start triplet and end triplet markers" script="(d-ToggleTripleting)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_style=&quot;italic&quot; font_weight=&quot;bold&quot;&gt;Allegro&lt;/span&gt;" _tooltip="Insert a tempo change at cursor" script="(d-MetronomeMark)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_style=&quot;italic&quot; font_weight=&quot;bold&quot;&gt;f p&lt;/span&gt;" _tooltip="Insert a Dynamic Marking at the cursor" script="(d-DynamicText)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;lt;&lt;/span&gt;" _tooltip="Start Crescendo from note/chord at cursor" script="(d-ToggleStartCrescendo)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;lt;|&lt;/span&gt;" _tooltip="End Crescendo on note/chord at cursor" script="(d-ToggleEndCrescendo)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;gt;&lt;/span&gt;" _tooltip="Start Diminuendo from note/chord at cursor " script="(d-ToggleStartDiminuendo)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;gt;|&lt;/span&gt;" _tooltip="End Diminuendo from note/chord at cursor" script="(d-ToggleEndDiminuendo)"/>
    <button label="&lt;i&gt;&lt;b&gt;tr&lt;/b&gt;&lt;/i&gt;" _tooltip="Adds/Removes a trill to the note" script="(d-ToggleTrill)"/>
    <button label="&#x2022;&#x2022;&#x2022;" _tooltip="Choose more palettes of buttons." script="(d-ChoosePalette)&#10;"/>
  </palette>
  <palette _name="Dynamics" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="?" _tooltip="Help with chord symbol entry methods." script="(d-InfoDialog &#10;&quot;There are two methods of adding dynamics, either placing a dynamic directive before the note or chord which it should apply to or creating a separate staff for dynamics. In the second of these options the actual notes on the staff are ignored, they just serve to position the dynamics markings. This method makes it easy to align haripins with each other and with other dynamic markings..&quot;)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_style=&quot;italic&quot; font_weight=&quot;bold&quot;&gt;f p&lt;/span&gt;" _tooltip="Insert a Dynamic Marking at the cursor" script="(d-DynamicText)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;lt;&lt;/span&gt;" _tooltip="Start Crescrendo from note/chord at cursor" script="(d-ToggleStartCrescendo)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;lt;|&lt;/span&gt;" _tooltip="End Crescendo on note/chord at cursor" script="(d-ToggleEndCrescendo)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;gt;&lt;/span&gt;" _tooltip="Start Diminuendo from note/chord at cursor " script="(d-ToggleStartDiminuendo)"/>
    <button label="&lt;span font=&quot;times&quot; size=&quot;large&quot; font_weight=&quot;bold&quot;&gt;&amp;gt;|&lt;/span&gt;" _tooltip="End Diminuendo from note/chord at cursor" script="(d-ToggleEndDiminuendo)"/>
    <button label="Staff" _tooltip="Adds a staff to be used purely for dynamic markings, insert after right hand piano staff" script="(d-DynamicsStaff)"/>
    <button label="cresc - - -" _tooltip="Prints text to start or continue a crescendo extending over a passage. Use for cresc. poco a poco, for example. Terminate with End Crescendo marking or a dynamic mark, else nothing will be printed. LilyPond markup, such as \\bold can be used." script="(d-CrescendoTextSpanner)"/>
    <button label="dim - - -" _tooltip="Prints text to start or continue a diminuendo extending over a passage. Use for dim. poco a poco, for example. Terminate with End Diminuendo marking or a dynamic mark, else nothing will be printed. LilyPond markup, such as \\bold can be used." script="(d-DecrescendoTextSpanner)"/>
    <button label="Extra Space" _tooltip="Music is spaced out by the extra amount given to avoid textual dynamic markings colliding. Not for hairpins." script="(d-DynamicsExtraSpace)"/>
  </palette>
  <palette _name="Pianoforte" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="&lt;span font='24'&gt;&#x1D1AE;&lt;/span&gt;" _tooltip="Prints a Sustain Pedal On Mark" script="(d-SustainOn)"/>
    <button label="&lt;span font='24'&gt;&#x1D11E;     &#10;&#x1D122;&lt;/span&gt;" _tooltip="Adds two staff braced together for keyboard instrument." script="(d-PianoStaff)"/>
    <button label="&amp;lt;&amp;gt;" _tooltip="Adds a staff to be used purely for dynamic markings, insert after right hand piano staff" script="(d-DynamicsStaff)"/>
    <button label="&lt;span font='44'&gt;&#x1D1AF;&lt;/span&gt;" _tooltip="Prints a Sustain Off Mark" script="(d-SustainOff)"/>
    <button label="&#x2B01;" _tooltip="(Print) the current voice moves to the staff you name." script="(d-ChangeStaff)"/>
    <button label="8va" _tooltip="Inserts an 8va mark (transposing the notes accordingly) or terminates one already started." script="(d-Ottava)"/>
  </palette>
  <palette _name="Insert or Append Duration" row-wise="0" limit="1" dock="1" hidden="0">
    <button label="&#x25BC;&#x1D15D;" _tooltip="When appending, appends a &#x1D15D; &#10;With the cursor on a note inserts a &#x1D15D;  before the current note&#10;If MIDI-in is active, the note will be pitchless (displays yellow, percussion-sounding)&#10; - the MIDI keyboard will provide the pitch. Changes prevailing duration." script="(d-0)"/>
    <button label="&#x25BC;&#x1D15E;" _tooltip="When appending, appends a &#x1D15E; &#10;With the cursor on a note inserts a &#x1D15E;  before the current note&#10;If MIDI-in is active, the note will be pitchless (displays yellow, percussion-sounding)&#10; - the MIDI keyboard will provide the pitch. Changes prevailing duration." script="(d-1)"/>
    <button label="&#x25BC;&#x1D15F;" _tooltip="When appending, appends a &#x1D15F; &#10;With the cursor on a note inserts a &#x1D15F;  before the current note&#10;If MIDI-in is active, the note will be pitchless (displays yellow, percussion-sounding)&#10; - the MIDI keyboard will provide the pitch. Changes prevailing duration." script="(d-2)"/>
    <button label="&#x25BC;&#x1D160;" _tooltip="When appending, appends a &#x1D160; &#10;With the cursor on a note inserts a &#x1D160;  before the current note&#10;If MIDI-in is active, the note will be pitchless (displays yellow, percussion-sounding)&#10; - the MIDI keyboard will provide the pitch. Changes prevailing duration." script="(d-3)"/>
    <button label="&#x25BC;&#x1D161;" _tooltip="When appending, appends a &#x1D161; &#10;With the cursor on a note inserts a &#x1D161;  before the current note&#10;If MIDI-in is active, the note will be pitchless (displays yellow, percussion-sounding)&#10; - the MIDI keyboard will provide the pitch. Changes prevailing duration." script="(d-4)"/>
    <button label="&#x25BC;&#x1D162;" _tooltip="When appending, appends a &#x1D162; &#10;With the cursor on a note inserts a &#x1D162;  before the current note&#10;If MIDI-in is active, the note will be pitchless (displays yellow, percussion-sounding)&#10; - the MIDI keyboard will provide the pitch. Changes prevailing duration." script="(d-5)"/>
    <button label="&#x25BC;&#x1D13B;" _tooltip="Insert &#x1D13B; rest" script="(d-InsertWholeRest)"/>
    <button label="&#x25BC;&#x1D13C;" _tooltip="Insert &#x1D13C; rest" script="(d-InsertHalfRest)"/>
    <button label="&#x25BC;&#x1D13D;" _tooltip="Insert &#x1D13D; rest" script="(d-InsertQuarterRest)"/>
    <button label="&#x25BC;&#x1D13E;" _tooltip="Insert &#x1D13E; rest" script="(d-InsertEighthRest)"/>
    <button label="&#x25BC;&#x1D13F;" _tooltip="Insert &#x1D13F; rest" script="(d-InsertSixteenthRest)"/>
    <button label="&#x25BC;&#x1D140;" _tooltip="Insert &#x1D140; rest" script="(d-InsertThirtysecondRest)"/>
    <button label="&#x2022;" _tooltip="Dot, double dot or undot the note at the cursor" script="(d-DotDoubleDotNoDot)"/>
  </palette>
  <palette _name="Edit Duration" row-wise="0" limit="1" dock="1" hidden="0">
    <button label="&#x25BA; &#x1D15D;" _tooltip="Change the current note to a &#x1D15D;" script="(d-Change0)"/>
    <button label="&#x25BA; &#x1D15E;" _tooltip="Change the current note to a &#x1D15E;" script="(d-Change1)"/>
    <button label="&#x25BA; &#x1D15F;" _tooltip="Change the current note to a &#x1D15F;" script="(d-Change2)"/>
    <button label="&#x25BA; &#x1D160;" _tooltip="Change the current note to a &#x1D160;" script="(d-Change3)"/>
    <button label="&#x25BA; &#x1D161;" _tooltip="Change the current note to a &#x1D161;" script="(d-Change4)"/>
    <button label="&#x25BA; &#x1D162;" _tooltip="Change the current note to a &#x1D162;" script="(d-Change5)"/>
    <button label="&#x2022;" _tooltip="Dot, double dot or undot the note at the cursor" script="(d-DotDoubleDotNoDot)"/>
    <button label="1/2" _tooltip="Halves the duration of the note/chord/rest at the cursor or the selection. E.g. Quarter Note becomes Eighth Note. " script="(d-Diminish)"/>
    <button label="2&#x2217;" _tooltip="Doubles the duration of the note/chord/rest at the cursor or the selection. E.g. Quarter Note becomes Half Note." script="(d-Augment)"/>
  </palette>
  <palette _name="Change or Append Notes" row-wise="0" limit="1" dock="1" hidden="0">
    <button label="&#x25BA; A" _tooltip="Changes the note the cursor is on to the note A.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-A)"/>
    <button label="&#x25BA; B" _tooltip="Changes the note the cursor is on to the note B.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-B)"/>
    <button label="&#x25BA; C" _tooltip="Changes the note the cursor is on to the note C.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-C)"/>
    <button label="&#x25BA; D" _tooltip="Changes the note the cursor is on to the note D.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-D)"/>
    <button label="&#x25BA; E" _tooltip="Changes the note the cursor is on to the note E.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-E)"/>
    <button label="&#x25BA; F" _tooltip="Changes the note the cursor is on to the note F.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-F)"/>
    <button label="&#x25BA; G" _tooltip="Changes the note the cursor is on to the note G.&#10;If the cursor is in the appending position, appends a note using the prevailing duration." script="(d-G)"/>
    <button label="&#x2B06;8" _tooltip="Changes the note at the cursor to an octave higher" script="(d-OctaveUp)"/>
    <button label="&#x2B07;8" _tooltip="Changes the note at the cursor to an octave lower" script="(d-OctaveDown)"/>
    <button label="!" _tooltip="Forces the accidental on the note to be printed." script="(d-CautionaryAccidental)"/>
    <button label="(&#x266E;)" _tooltip="Prints the accidental in ()." script="(d-ReminderAccidental)"/>
    <button label="&#x266F;" _tooltip="Sharpen the note at the cursor or next entered note if the cursor is in the appending position" script="(d-SharpenNote)"/>
    <button label="&#x266D;" _tooltip="Flatten the note at the cursor or next entered note if the cursor is in the appending position" script="(d-FlattenNote)"/>
  </palette>
  <palette _name="Ornaments" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="&lt;i&gt;&lt;b&gt;tr&lt;/b&gt;&lt;/i&gt;" _tooltip="Adds/Removes a trill to the note" script="(d-ToggleTrill)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#xE18D;&lt;/span&gt;" _tooltip="Adds/Removes a Mordent to the note" script="(d-ToggleMordent)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#xE18C;&lt;/span&gt;" _tooltip="Adds/Removes a prall to the note" script="(d-TogglePrall)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#xE190;&lt;/span&gt;" _tooltip="Adds/Removes Up Prall ornament" script="(d-ToggleUpPrall)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#x1D197;&lt;/span&gt;" _tooltip="Add/Removes a Turn to the note" script="(d-ToggleTurn)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#x1D198;&lt;/span&gt;" _tooltip="Add/Removes a Reverse Turn to the note" script="(d-ToggleReverseTurn)"/>
    <button label="&lt;i&gt;tr&lt;/i&gt; &lt;span font=&quot;emmentaler&quot;&gt;&#xE18C;&#xE18C;&#xE18C;&lt;/span&gt;" _tooltip="Starts a spanning trill from the note at the cursor." script="(d-StartTrillSpan)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#xE18C;&#xE18C;&#xE18C;&lt;/span&gt; end" _tooltip="Ends a previously started trill at the next note." script="(d-StopTrillSpan)"/>
  </palette>
  <palette _name="Stringed Instruments" row-wise="0" limit="7" dock="0" hidden="1">
    <button label="&#xE176;" _tooltip="Mark/Unmark current selection or note with UpBow" script="(d-UpBowSelectionSwitcher)"/>
    <button label="&#xE177;" _tooltip="Mark/Unmark selection or current object" script="(d-DownbowSelectionSwitcher)"/>
    <button label="&lt;span font=&quot;emmentaler&quot;&gt;&#xE17F;&lt;/span&gt;" _tooltip="Mark/Unmark current selection or object with a harmonic" script="(d-HarmonicSelectionSwitcher)"/>
    <button label="&#x2307;" _tooltip="Mark/Unmark the selected notes arpeggio" script="(d-ArpeggioSelectionSwitcher)"/>
    <button label="&lt;span font='24'&gt;&#x1D182; &lt;/span&gt;" _tooltip="Marks/Unmaks the selection with the Portato" script="(d-PortatoSelectionSwitcher)"/>
    <button label="+" _tooltip="Mark/Unmark the selected notes stopped" script="(d-StoppedSelectionSwitcher)"/>
    <button label="0" _tooltip="Inserts fingering for open string" script="(d-Finger0)"/>
    <button label="1" _tooltip="Inserts fingering for finger 1" script="(d-Finger1)"/>
    <button label="2" _tooltip="Inserts fingering for finger 2" script="(d-Finger2)"/>
    <button label="3" _tooltip="Inserts fingering for finger 3" script="(d-Finger3)"/>
    <button label="4" _tooltip="Inserts fingering for finger 4" script="(d-Finger4)"/>
    <button label="5" _tooltip="Inserts fingering for finger 5" script="(d-Finger5)"/>
    <button label="s1" _tooltip="Creates a cloned Denemo Directive" script=";;;StringNumber&#10;(let ((tag &quot;StringNumber&quot;))&#10;(d-DirectivePut-note-postfix tag &quot;\\1 &quot;)&#10;(d-DirectivePut-note-display tag &quot;s1&quot;)&#10;(d-SetSaved #f)(d-RefreshDisplay))&#10;;;;End of scheme script"/>
    <button label="s2" _tooltip="Creates a cloned Denemo Directive" script=";;;StringNumber&#10;(let ((tag &quot;StringNumber&quot;))&#10;(d-DirectivePut-note-postfix tag &quot;\\2 &quot;)&#10;(d-DirectivePut-note-display tag &quot;s2&quot;)&#10;(d-SetSaved #f)(d-RefreshDisplay))&#10;;;;End of scheme script"/>
    <button label="s3" _tooltip="Creates a cloned Denemo Directive" script=";;;StringNumber&#10;(let ((tag &quot;StringNumber&quot;))&#10;(d-DirectivePut-note-postfix tag &quot;\\3 &quot;)&#10;(d-DirectivePut-note-display tag &quot;s3&quot;)&#10;(d-SetSaved #f)(d-RefreshDisplay))&#10;;;;End of scheme script"/>
    <button label="s4" _tooltip="Creates a cloned Denemo Directive" script=";;;StringNumber&#10;(let ((tag &quot;StringNumber&quot;))&#10;(d-DirectivePut-note-postfix tag &quot;\\4 &quot;)&#10;(d-DirectivePut-note-display tag &quot;s4&quot;)&#10;(d-SetSaved #f)(d-RefreshDisplay))&#10;;;;End of scheme script"/>
    <button label="s5" _tooltip="Creates a cloned Denemo Directive" script=";;;StringNumber&#10;(let ((tag &quot;StringNumber&quot;))&#10;(d-DirectivePut-note-postfix tag &quot;\\5 &quot;)&#10;(d-DirectivePut-note-display tag &quot;s5&quot;)&#10;(d-SetSaved #f)(d-RefreshDisplay))&#10;;;;End of scheme script"/>
    <button label="s6" _tooltip="Creates a cloned Denemo Directive" script=";;;StringNumber&#10;(let ((tag &quot;StringNumber&quot;))&#10;(d-DirectivePut-note-postfix tag &quot;\\6 &quot;)&#10;(d-DirectivePut-note-display tag &quot;s6&quot;)&#10;(d-SetSaved #f)(d-RefreshDisplay))&#10;;;;End of scheme script"/>
    <button label="s?" _tooltip="Followed by a number, places string number on note." script="(d-StringNum)"/>
    <button label="&lt;i&gt;p i m&lt;/i&gt;" _tooltip="The given number as right hand fingering, using the conventional p,m,i indicators. Use Cancel to delete" script="(d-RHFinger)"/>
    <button label="RH" _tooltip="Asks for a finger number and typesets p,m,i as appropriate. Use cancel to delete." script="(d-RHFinger)"/>
    <button label="Harmonic" _tooltip="Places a diamond shape notehead at the cursor. Invoke this command with the cursor above the note to be fingered/fretted to notate an artificial harmonic." script="(d-ArtificialHarmonic)"/>
  </palette>
  <palette _name="Polyphony" row-wise="1" limit="4" dock="0" hidden="1">
    <button label="V+" _tooltip="Adds a voice to the current staff, initially displayed on a staff of its own, for readability. It will print on the staff above, and can be displayed there using Join Voices command if desired." script="(d-NewVoice)"/>
    <button label="V?" _tooltip="Select a voice for the music following the cursor position.&#10;The Voice 1,2,3,4 choices set up the voices so that first and third voices get stems up, second and fourth voices get stems down, third and fourth voice note heads are horizontally shifted, and rests in the respective voices are automatically moved to avoid collisions. The Automatic Voice setting returns all the voice settings to the neutral default directions" script="(d-VoiceSetting)"/>
    <button label="V(V)" _tooltip="The two voices will be printed only once when they are the same, otherwise they will be printed as parts. (Off/On)" script="(d-PartCombine)"/>
    <button label="&#x1D13D;(&#x1D13D;)" _tooltip="(Print) Merges rests where two voices have a common rest. Not for whole measure or multi-measure rests." script="(d-MergeRests)"/>
    <button label="&lt;span font='denemo 12'  letter_spacing=&quot;-10000&quot;&gt;&#x1D15F;&lt;span rise=&quot;8000&quot;&gt;&#x1D15F;&lt;/span&gt;&lt;/span&gt;" _tooltip="Turns off horizontal displacement of notes (which avoid collisions between parts)" script="(d-ShiftOff)"/>
    <button label="&lt;span  font='denemo 12' letter_spacing=&quot;-1000&quot;&gt;&#x1D15F;&lt;span rise=&quot;8000&quot;&gt;&#x1D15F;&lt;/span&gt;&lt;/span&gt;" _tooltip="Turns on horizontal displacements of notes where needed." script="(d-ShiftOn)"/>
    <button label="&#x1D15F;&#x2B0C;" _tooltip="On printing the current note/chord will be shifted from notes in other voices by the amount you give. Use with Voice Presets to ensure this chord is in a different voice." script="(d-NoteColumnShift)"/>
    <button label="Initial Voice" _tooltip="Choose which voice this staff will initially be set to. To change voice during music see the Directives-&gt;Voices menu." script="(d-InitialVoice)"/>
    <button label="Merge Dotted" _tooltip="From this point in the music notes in different voices beginning at the same time will be merged onto the same stem even if they differ in the dotting." script="(d-MergeDifferentlyDottedOn)"/>
    <button label="Un-merge Dotted" _tooltip="From this point notes in different voices that begin at the same time will not be merged onto the same stem if they differ in the dotting." script="(d-MergeDifferentlyDottedOff)"/>
    <button label="Part Combine Two" _tooltip="The two voices will be printed only once when they are the same, otherwise they will be printed as parts. (Off/On)" script="(d-PartCombine)"/>
    <button label="Part Combine Chords" _tooltip="From the cursor onwards chords will be combined from the parts included in the part combine command." script="(d-PartCombineChords)"/>
    <button label="Unisono" _tooltip="Combine parts as unison." script="(d-PartCombineUnisono)"/>
    <button label="Automatic" _tooltip="Reverts to the default part combining." script="(d-PartCombineAutomatic)"/>
    <button label="Keep Voices Apart" _tooltip="When part combining, from this point the parts will be kept apart even though they could be combined." script="(d-PartCombineApart)"/>
    <button label="Note Column Warnings" _tooltip="Turns warnings from the LilyPond typesetter about clashing note columns off or on. These can be harmless but can cause a warning to check the score." script="(d-IgnoreClashingNoteColumns)"/>
  </palette>
  <palette _name="Articulations" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="fermata.svg" _tooltip="Mark/Unmark current selection or object with a fermata" script="(d-FermataSelectionSwitcher)"/>
    <button label="staccato.svg" _tooltip="Adds the staccato dot or removes it" script="(d-StaccatoSelectionSwitcher)"/>
    <button label="staccatissimo.svg" _tooltip="Toggles Staccatissimo" script="(d-StaccatissimoSelectionSwitcher)"/>
    <button label="tenuto.svg" _tooltip="Toggles the Tenuto Line _ On/Off" script="(d-TenutoSelectionSwitcher)"/>
    <button label="accent.svg" _tooltip="Adds the &gt; accent" script="(d-AccentSelectionSwitcher)"/>
    <button label="marcato.svg" _tooltip="Mark/Unmark the selected notes marcato" script="(d-MarcatoSelectionSwitcher)"/>
    <button label="Outside Slur" _tooltip="The articulation(s) on this note will be placed outside the slur (furthest from the note). Repeat the command to return the slur to the outside." script="(d-ArticulationOutsideSlur)"/>
  </palette>
  <palette _name="Barlines" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="||:" _tooltip="Insert a barline indicating the start of a repeated section." script="(d-RepeatStart)"/>
    <button label=":||" _tooltip="Insert a barline indicating the end of a repeated section." script="(d-RepeatEnd)"/>
    <button label=":||:" _tooltip="Inserts a barline ending one repeated section and starting another" script="(d-RepeatEndStart)"/>
    <button label="||" _tooltip="Insert a double barline at cursor position." script="(d-DoubleBarline)"/>
    <button label="|||" _tooltip="Inserts a closing barline (a double bar with last one thicker)." script="(d-ClosingBarline)"/>
    <button label="|x" _tooltip="Skips the printing of any automatic barline here - allows line break." script="(d-NoBarline)"/>
    <button label="Choose" _tooltip="Choose a barline " script="(d-ChooseBarline)"/>
    <button label="Custom" _tooltip="Create a custom barline.&#10;These can be named, or can simply override a standard LilyPond bar line type.&#10;A bar line is defined by four forms, which describe 1) the appearance normally (during a line), &#10;2) appearance when the barline is at the beginning or &#10;3) end of a line , and &#10;4) what to show when joining staffs together as with a Piano Staff.&#10;Barline forms are made of characters including |,:,.,[,],:&#10;and others in the LilyPond documentation." script="(d-CustomBarline)"/>
  </palette>
  <palette _name="Repeats" row-wise="0" limit="2" dock="0" hidden="1">
    <button label="1&#xB0;" _tooltip="(Print) start a first time bar, must be followed by EndVolta." script="(d-OpenFirstTimeBar)"/>
    <button label="2&#xB0;" _tooltip="(Print) start a second time bar, must be followed by EndVolta" script="(d-OpenSecondTimeBar)"/>
    <button label=" &#xAC; 1&#xB0;/2&#xB0;" _tooltip="Ends a volta, that is a n'th time bar" script="(d-EndVolta)"/>
    <button label="insert 1st and 2nd" _tooltip="Inserts first and second time bars each with a whole measure rest. You can then edit this to suit your music, e.g by inserting extra bars, deleting the repeat start etc." script="(d-InsertFirstAndSecondTimeBars)"/>
    <button label="nth time" _tooltip="Start passage to be played on one or more of the repeats as indicated by the text given by the user (e.g. 3 for third time bar). Finish the passage by placing the End ... time bar command." script="(d-OpenNthTimeBar)"/>
    <button label="start |:" _tooltip="Insert a barline indicating the start of a repeated section." script="(d-RepeatStart)"/>
    <button label="end :|" _tooltip="Insert a barline indicating the end of a repeated section." script="(d-RepeatEnd)"/>
    <button label="e/s :||:" _tooltip="Inserts a barline ending one repeated section and starting another" script="(d-RepeatEndStart)"/>
    <button label="Short Measure" _tooltip="Allow too few notes/rests in this measure. LilyPond will engrave this measure (in all staffs) with the short duration given by notes already present when this command was issued." script="(d-ShortMeasure)"/>
    <button label="Set Bar Number" _tooltip="Enter a number to change the lilypond bar number. The printout will continue to count up from there." script="(d-SetBarNumber)"/>
  </palette>
  <palette _name="Beaming" row-wise="1" limit="2" dock="0" hidden="1">
    <button label="?" _tooltip="Help with beaming commands." script="(d-InfoDialog &#10;&quot;Beaming commands affect the printed score, not the Denemo display which uses a simple beaming method for quick note entry. You may find it easier to use the beaming commands directly on the typeset score - right click to select a beamed note and right click on the selection box to choose a beaming command.&quot;)"/>
    <button label="[" _tooltip="Instructs the LilyPond engraver to start a beam here. (Print effect only)" script="(d-StartBeam)"/>
    <button label="]" _tooltip="Instructs LilyPond engraver to stop previously started manual beaming. Print effect only." script="(d-EndBeam)"/>
    <button label="[x" _tooltip="Typeset the note at the cursor with no beam to the right." script="(d-BeamRightNone)"/>
    <button label="]x" _tooltip="Typeset the note at the cursor with no beam to the left." script="(d-BeamLeftNone)"/>
    <button label="[1" _tooltip="Prints with just one beam linking to the right." script="(d-BeamRightOne)"/>
    <button label="]1" _tooltip="Prints with just one beam linking to left." script="(d-BeamLeftOne)"/>
    <button label="[2" _tooltip="Prints with just two beams linking to the right." script="(d-BeamRightTwo)"/>
    <button label="]2" _tooltip="Prints with just two beams linking to the left." script="(d-BeamLeftTwo)"/>
    <button label="]3" _tooltip="Prints with just three beams linking to the right." script="(d-BeamRightThree)"/>
    <button label="[3" _tooltip="Prints with just three beams linking to the left." script="(d-BeamLeftThree)"/>
    <button label="][x" _tooltip="(Print) Removes beam from current note" script="(d-NoBeam)"/>
    <button label="[n][m]..." _tooltip="Inserts a time signature with indication for how to beam the notes. Insert at beginning of staff in order to replace the initial time signature. Time Signature can be hidden on printing - see Time Signatures menu." script="(d-TimesigWithBeatStructure)"/>
    <button label="Score-wide Rules" _tooltip="Sets the rules to be used for beaming. With no selection gets the beat for beams to be divided for the prevailing time signature at the cursor. If a there is a selection this will set exceptions to the regular rule. In this case indicate the beaming desired using the manual beam commands [ and ]." script="(d-SetBeamExceptions)"/>
    <button label="Movement Rules" _tooltip="Add/Replace rules to be used for beaming in the current movement. With no selection gets the beat for beams to be divided for the prevailing time signature at the cursor. If a there is a selection this will be used as the set of rules. In this case indicate the beaming desired using the manual beam commands [ and ], giving all the beaming rules wanted using several measures if needed (no other rules are used). Repeat with different selections to add further rules." script="(d-MovementBeamingRules)"/>
    <button label="Time Signature" _tooltip="Inserts a time signature with indication for how to beam the notes. Insert at beginning of staff in order to replace the initial time signature." script="(d-TimesigWithBeatStructure)"/>
  </palette>
  <palette _name="Figured Bass" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="-&amp;gt;" _tooltip="Add a bass figure to the current note. Use | sign to split the duration of a note so as to have multiple figures on one note. See Lilypond docs for other notation" script="(d-EditFiguredBass)"/>
    <button label="^" _tooltip="Sets the height of the bass figure above the note. The unit is the distance between adjacent lines in the staff." script="(d-AdjustBassFigureHeight)"/>
    <button label="^^" _tooltip="Allows several groups of figures to be individually adjusted for height." script="(d-AdjustFiguredBassHeights)"/>
    <button label="&#x1D15F; = n" _tooltip="Start filtering MIDI events, First note is bass, hold this down while entering notes for figures. Pedal changes harmony on same bass." script="(d-FiguredBassFilterOn)"/>
    <button label="Hide" _tooltip="Hide the figured bass on the current staff on printing" script="(d-HideFiguredBass)"/>
    <button label="Show" _tooltip="Show the figured bass on the current staff on printing" script="(d-ShowFiguredBass)"/>
    <button label="Delete All" _tooltip="Delete the figured bass on the current staff" script="(d-DeleteFiguredBass)"/>
  </palette>
  <palette _name="Chord Symbols or Fake Chords" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="?" _tooltip="Help with chord symbol entry methods." script="(d-InfoDialog &#10;&quot;Chord Symbols (or \&quot;fake chords\&quot;) can be created in two ways. The first attaches a chord symbol to any note. You have to give the name of the chord required, e.g. C7.  This is ok if chord changes only occur on note starts. The other way is to create a voice specially for chords. You can then enter the actual chords as music notation and they will typeset as chord names.&quot;)"/>
    <button label="Attach by Name" _tooltip="Attach a chord symbol to the note at the cursor position. E.G.cis:dim7 for c-sharp diminished 7th. See Lilypond docs for notation" script="(d-EditChords)"/>
    <button label="Chord Symbol Staff" _tooltip="The current staff becomes a chord symbol staff. The music on this staff will be typeset as chord symbols. Normally you will make this staff a voice on the melody staff, so that the chord symbols print on the melody staff." script="(d-ChordStaff)"/>
  </palette>
  <palette _name="Midi Import" row-wise="1" limit="1" dock="0" hidden="1">
    <button label=" &#x2B05; MIDI" _tooltip="Opens a MIDI file for transcribing. Load each track in turn and insert the MIDI notes by playing the durations." script="(d-GuidedMidiImport)"/>
    <button label="&lt;span foreground=&quot;red&quot;&gt;&#x2B24;&lt;/span&gt;" _tooltip="Starts playing the score from the playhead start (green marker bar) and simultaneously records your playing from MIDI in.&#10;        You can stop the playback at any time and then the first MIDI note you entered is marked. &#10;        Entering duration keys now enters the notes you played into the score. &#10;        If you have no click track at the top one is created." script="(d-PlayAndRecordMidiIn)"/>
    <button label="&#x1D7C0; MIDI" _tooltip="Deletes the MIDI that has been imported or recorded via MIDI in." script="(d-DeleteRecordedMidi)"/>
    <button label="  &#x1D11E;  c &#x2B27;&#x2B27;&#x2B27;&#x2B27;|&#x2B27;&#x2B27;&#x2B27;&#x2B27;|&#xBE;&#x2B27;&#x2B27;&#x2B27;|" _tooltip="Creates a staff (a click track) at the top of this score from the imported MIDI using tempo and time signature information (if present). The measures are filled with drum beats so that pitches in the MIDI tracks can be displayed above them. When you have finished the import you can delete this staff." script="(d-CreateClickStaffForMidi)"/>
    <button label="    &#x1D11E; &#10;&#x2B05; &#x1D11E;  &#10;    &#x1D11E; &#10;" _tooltip="Creates a staff below the click track for the MIDI track selected. The staff is empty except for time signature and tempo changes. The MIDI pitches from the track are displayed above the click track and notes can be inserted by double-clicking on a MIDI pitch and entering the rhythm." script="(d-LoadMidiTrack)"/>
    <button label="&#x2B06;" _tooltip="Creates a staff for the imported MIDI track previous to the current one, making that the current one." script="(d-PreviousMidiTrack)"/>
    <button label="&#x2B07;" _tooltip="Creates a staff for the next MIDI track after the current one, making that the current one." script="(d-NextMidiTrack)"/>
    <button label="&amp;lt;&amp;lt;" _tooltip="The first recorded or imported MIDI note onset in the current track becomes marked so that entered durations will be given its pitch." script="(d-FirstNoteOnset)"/>
    <button label="&#x2B1B;" _tooltip="Removes the mark from the MIDI note onset, so that inserting durations have their normal meaning." script="(d-UnmarkNoteOnset)"/>
    <button label="&amp;lt;" _tooltip="Moves the marked MIDI note onset to the one before the current one." script="(d-PreviousNoteOnset)"/>
    <button label="&amp;gt;" _tooltip="Moves to the next MIDI note onset in the current recorded or imported MIDI track. Inserted durations will take their pitch from this note." script="(d-NextNoteOnset)"/>
    <button label="&#x2714;" _tooltip="Inserts the marked MIDI note from the current track, using the duration suggested. Use duration keys to insert the same note with a different duration." script="(d-InsertMarkedMidi)"/>
  </palette>
  <palette _name="Ties" row-wise="1" limit="4" dock="0" hidden="1">
    <button label="&lt;span rise=&quot;4000&quot;&gt;&#x1D15F;&lt;/span&gt;&#x2B04;&lt;span rise=&quot;4000&quot;&gt;&#x1D15F;&lt;/span&gt;&#x2323;" _tooltip="Tie/Untie from the note/chord at the cursor - will be ignored by the LilyPond typesetter if next note is not at the same pitch" script="(d-ToggleTie)"/>
    <button label="&#x2322;&#x2312;&#x23DD;" _tooltip="Gives a choice of shape modifications to make to the following tie." script="(d-TieShape)"/>
    <button label="&#x2323;&lt;span rise=&quot;4000&quot;&gt;&#x1D15F;&lt;/span&gt;" _tooltip="The note at the cursor ends a tie that has begun elsewhere, usually in a first time bar. That is it is a repeat of the tie ending." script="(d-RepeatTie)"/>
    <button label="&lt;span rise=&quot;4000&quot;&gt;&#x1D15F;&lt;/span&gt;&#x2323;" _tooltip="Places a tie after the note at the cursor, tying to nothing. Use for laissez vibrer or when a tie comes at a final repeat." script="(d-LaissezVibrer)"/>
    <button label="Up" _tooltip="Ties to next note, tie upwards, or removes tie." script="(d-ToggleTieUp)"/>
    <button label="Down" _tooltip="Ties to the following note/chord with tie downwards." script="(d-ToggleTieDown)"/>
    <button label="Note Auto" _tooltip="Ties the note at the cursor leaving other notes in the current chord unchanged." script="(d-ToggleNoteTie)"/>
    <button label="Note Up" _tooltip="Ties the individual note in a chord the tie being above; repeat command to remove." script="(d-ToggleNoteUpTie)"/>
    <button label="Note Down" _tooltip="Ties the individual note at the cursor the tie going down; repeat to remove." script="(d-ToggleNoteDownTie)"/>
    <button label="Fix Slur/Tie" _tooltip="Corrects for the slur/tie error common in imported scores. Scans entire score for pairs of identical notes slurred together as a pair. Changes these to a tied note. Do not use in the unusual case of identical notes slurred (e.g. across strings)." script="(d-ConvertIncorrectSlursToTies)"/>
  </palette>
  <palette _name="Custom Ornaments" row-wise="1" limit="1" dock="0" hidden="1">
    <button label="Create/Load" _tooltip="Allows the user to create a customized ornament (or load one previously created)&#10;into this score's definitions. Ornament names should be start in lower case&#10;and have no numerals.&#10;If a standard ornament is used, e.g. trill,&#10;then this will replace the standard ornament throughout the score." script="(d-CustomOrnamentDefinition)"/>
    <button label="Edit" _tooltip="Edit the definition (size or appearance) of a custom ornament definition. The definition must already have been created in this score." script="(d-EditCustomOrnamentDefinition)"/>
    <button label="Attach (Off/On)" _tooltip="Typesets a custom ornament on the current note/chord. Removes that ornament if already present." script="(d-ToggleCustomOrnament)"/>
    <button label="Insert" _tooltip="Inserts an ornament (or other LilyPond Definition) as a separate object (it will appear on the previous note)" script="(d-InsertDefinedLilyPond)"/>
  </palette>
  <palette _name="Chord Charts" row-wise="0" limit="2" dock="0" hidden="1">
    <button label="Chord Chart Staff" _tooltip="Prints Chord symbols separated by bar lines. Repeats, time signatures and text are also printed for this staff." script=";;CompactChordChart&#10;(d-ChordChartStaff 'compact)&#10;(d-SelectPalette (_ &quot;Chord Inserts&quot;))&#10;((RadioBoxMenu (cons (_ &quot;Use keys a,b,c ..g to move cursor&quot;)&#10;(lambda ()&#10;    (d-AddKeybinding &quot;JumpUpOctave&quot; &quot;apostrophe&quot;)&#10;    (d-AddKeybinding &quot;JumpDownOctave&quot; &quot;comma&quot;)&#10;    (d-NumbersSelectDuration)&#10;    (d-NoteNamesMove)))&#10;    (cons (_ &quot;Leave keyboard shortcuts unchanged&quot;) (lambda ()&#10;    (disp &quot;unchanged&quot;)))))"/>
    <button label="Create Special Barline" _tooltip="Create a custom barline.&#10;These can be named, or can simply override a standard LilyPond bar line type.&#10;A bar line is defined by four forms, which describe 1) the appearance normally (during a line), &#10;2) appearance when the barline is at the beginning or &#10;3) end of a line , and &#10;4) what to show when joining staffs together as with a Piano Staff.&#10;Barline forms are made of characters including |,:,.,[,],:&#10;and others in the LilyPond documentation." script="(d-CustomBarline)"/>
    <button label="Special Barline" _tooltip="Insert a previously created barline. (Any other LilyPond definitions  - see Score-&gt;LilyPond Definition - are here too)." script="(d-InsertDefinedLilyPond)"/>
    <button label="Line Break" _tooltip="Start a new line at this measure." script="(d-LineBreak #t)"/>
    <button label="Whole Measure Repeat" _tooltip="Inserts a whole measure repeat sign." script="(d-WholeMeasureRepeat)"/>
    <button label="Change Chord Size" _tooltip="Typeset the chord at the cursor larger or smaller than normal." script=";;;CompactChordScale&#10;(let* ((tag &quot;CompactChordScale&quot;)(scalex &quot;2.0&quot;) (scaley &quot;2.0&quot;) (data  (d-DirectiveGet-standalone-data tag)))&#10;    (if data&#10;        (begin&#10;            (d-DirectiveDelete-standalone tag)&#10;            (set! data (eval-string data))&#10;            (set! scalex (car data))&#10;            (set! scaley (cdr data))))&#10;    (set! scalex (d-GetUserInput (_ &quot;Chord Symbol Scale&quot;) (_ &quot;Give horizontal scaling for next chord&quot;) scalex))&#10;        (if scalex&#10;            (begin&#10;                (set! scaley (d-GetUserInput (_ &quot;Chord Symbol Scale&quot;) (_ &quot;Give vertical scaling for next chord&quot;) scaley))&#10;                (if scaley &#10;                    (begin&#10;                        (d-DirectivePut-standalone tag)&#10;                        (d-DirectivePut-standalone-postfix tag (string-append &quot;\\once \\set Score.chordCompactScale = #'(&quot; scalex &quot; . &quot; scaley &quot;) &quot;))&#10;                        (d-DirectivePut-standalone-display tag &quot;Scale&quot;)&#10;                        (d-DirectivePut-standalone-data tag (format #f &quot;'~s&quot; (cons scalex scaley)))&#10;                        (d-DirectivePut-standalone-minpixels tag 30)&#10;                        (d-SetSaved #f)&#10;                        (d-RefreshDisplay))))))"/>
    <button label="Offset Chord" _tooltip="Offsets the Chord symbol generated by the chord at the cursor." script="(d-ChordNameOffset)"/>
    <button label="Add Bass Inversion" _tooltip="Adds a bass note to a chord, while keeping the current lowest note as the root of the chord. Use this on Chord Symbol staffs to create an inversion of the chord entered." script="(d-AddBassInversion)"/>
    <button label="Flatten Next Bass Note" _tooltip="Use in appending position to flatten the bass note of the next chord (extra to what it would be)." script="(d-FlattenNote)"/>
    <button label="Sharpen Next Bass Note" _tooltip="Use in appending position to sharpen the bass note of the next chord (extra to what it would be)." script="(d-SharpenNote)"/>
    <button label=" &#x1D15D;" _tooltip="Set the prevailing duration to &#x1D15D; (subsequent chords entered will have this duration)" script="(d-Set0)"/>
    <button label="&#x1D15E;" _tooltip="Set the prevailing duration to &#x1D15E; (subsequent chords entered will have this duration)" script="(d-Set1)"/>
    <button label="&#x1D15F;" _tooltip="Set the prevailing duration to &#x1D15F; (subsequent chords entered will have this duration)" script="(d-Set2)"/>
    <button label="/" _tooltip="Insert a repeated chord sign." script="(d-InsertQuarterRest)"/>
    <button label="Section Mark" _tooltip="Inserts an arbitrary mark in the score at the cursor. Any size, font, effect can be chosen. The text position can be dragged in the print view if needed. Avoid placing one at the start as it clashes with the time signature - place it after the first note and drag it into position." script="(d-MultiLineTextAnnotation (list (cons 'dimensions &quot;0.5&quot;)(cons 'scale &quot;1.5&quot;) (cons 'text &quot;\\bold \\box \&quot;A\&quot;&quot;)))"/>
    <button label="Fix Number of Lines" _tooltip="Specify the number of lines you want on the page." script="(d-SystemsPerPage)"/>
    <button label="Insert Whole Measure Spacer" _tooltip="Inserts a non-printing whole measure after the current measure with a directive to omit the barline. This gives a one measure spacer." script="(d-WholeMeasureSpacer)"/>
    <button label="Fret Diagram" _tooltip="Creates a dialog for you to enter a description of the fret diagram to be typeset at the cursor position." script="(d-FretDiagram)&#10;(d-FretDiagram (assq-set! '() 'dimensions 0.5))"/>
    <button label="Alternate Chord" _tooltip="Turn the chord at the cursor into an alternate chord, typeset above and colored. This appears in the display as small notes (a grace note). Edit the position with the offset chord button." script="(if (Chord?)&#10;&#9;(begin&#10;&#9;&#9;(d-ChordNameOffset '(3 . 6))&#10;&#9;&#9;(d-MakeGrace)&#10;&#9;&#9;(d-ColorChordSymbol (list 0.6 0.0 0.0))&#10;&#9;&#9;(d-CompactChordScale '(2 . 2))))"/>
    <button label="Space Below Title" _tooltip="Inserts blank space above the movement." script="(d-InsertSpaceBeforeMovement)"/>
  </palette>
  <palette _name="Chord Inserts" row-wise="0" limit="4" dock="0" hidden="1">
    <button label="root" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script="(d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMajor3)&#10;(d-AddLowestUpPerfect5)&#10;(d-MoveCursorRight)"/>
    <button label="m" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script="(d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor3)&#10;(d-AddLowestUpPerfect5)&#10;(d-MoveCursorRight)"/>
    <button label="7" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor7)&#10;(d-MoveCursorRight)"/>
    <button label="6" _tooltip="Inserts the chord at the cursor." script="(d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMajor6)&#10;(d-MoveCursorRight)"/>
    <button label="m7" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor3)&#10;(d-AddLowestUpMinor7)&#10;(d-MoveCursorRight)"/>
    <button label="m6" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script="(d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor3)&#10;(d-AddLowestUpMajor6)&#10;(d-MoveCursorRight)"/>
    <button label="m7b5" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor3)&#10;(d-AddLowestUpDiminished5)&#10;(d-AddLowestUpMinor7)&#10;(d-MoveCursorRight)"/>
    <button label="9" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMajor2)&#10;(d-CursorUp)&#10;(d-OctaveUp)&#10;(d-MoveCursorRight)&#10;(d-JumpDownOctave)&#10;(d-CursorDown)"/>
    <button label="9sus4" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpPerfect4)&#10;(d-AddLowestUpMinor7)&#10;(d-AddLowestUpMajor2)&#10;(d-CursorUp)&#10;(d-OctaveUp)&#10;(d-MoveCursorRight)&#10;(d-CursorDown)&#10;(d-JumpDownOctave)"/>
    <button label="M7" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMajor7)&#10;(d-MoveCursorRight)"/>
    <button label="7M13" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMajor7)&#10;(d-AddLowestUpMajor6)&#10;(d-CursorUp)(d-CursorUp)(d-CursorUp)(d-CursorUp)(d-CursorUp)&#10;(d-OctaveUp)&#10;(d-MoveCursorRight)&#10;(d-JumpDownOctave)&#10;(d-CursorDown)(d-CursorDown)(d-CursorDown)(d-CursorDown)(d-CursorDown)"/>
    <button label="sus4" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpPerfect4)&#10;(d-AddLowestUpPerfect5)&#10;(d-MoveCursorRight)"/>
    <button label="sus2" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMajor2)&#10;(d-AddLowestUpPerfect5)&#10;(d-MoveCursorRight)"/>
    <button label="o7" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor3)&#10;(d-AddLowestUpDiminished5)&#10;(ANS::AddIntervalAsChordnoteFromLowestUp 'd7)&#10;(d-MoveCursorRight)"/>
    <button label="7b9" _tooltip="Inserts the chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(d-AddLowestUpMinor7)&#10;(d-AddLowestUpMinor2)&#10;(d-CursorUp)&#10;(d-OctaveUp)&#10;(d-MoveCursorRight)&#10;(d-CursorDown)&#10;(d-JumpDownOctave)"/>
    <button label="+9" _tooltip="Inserts a chord at the cursor. Cursor height gives bass note. Use pending sharpen/flatten command for sharp/flat bass note." script=" (d-PutNote)&#10; (d-PutNoteName (d-GetCursorNoteWithOctave))&#10;(d-MoveCursorLeft)&#10;(ANS::AddIntervalAsChordnoteFromLowestUp 'A2)&#10;(d-CursorUp)&#10;(d-OctaveUp)&#10;(d-JumpDownOctave)&#10;(d-CursorDown)&#10;(d-MoveCursorRight)&#10;"/>
    <button label="any" _tooltip="Attaches an arbitrary chord symbol at the cursor - use for chords not listed." script="(d-PutNote)&#10;(d-MoveCursorLeft)&#10;(d-CompactChordSymbol)&#10;(d-MoveCursorRight)&#10;&#10;"/>
  </palette>
</Denemo>