LSR: Update.
[lilypond.git] / ly / property-init.ly
blob2d50a6c6019569271214b6c1ca09e0acada8552d
1 % property-init.ly
3 \version "2.12.0"
5 stemUp = \override Stem #'direction = #UP
6 stemDown = \override Stem #'direction = #DOWN
7 stemNeutral = \revert Stem #'direction
9 slurUp = \override Slur #'direction = #UP
10 slurDown = \override Slur #'direction = #DOWN
11 slurNeutral = \revert Slur #'direction
13 slurDashed = {
14 \override Slur #'dash-period = #0.75
15 \override Slur #'dash-fraction = #0.4
17 slurDotted = {
18 \override Slur #'dash-period = #0.75
19 \override Slur #'dash-fraction = #0.1
21 slurSolid = {
22 \revert Slur #'dash-period
23 \revert Slur #'dash-fraction
27 phrasingSlurUp = \override PhrasingSlur #'direction = #UP
28 phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN
29 phrasingSlurNeutral = \revert PhrasingSlur #'direction
31 phrasingSlurDashed = {
32 \override PhrasingSlur #'dash-period = #0.75
33 \override PhrasingSlur #'dash-fraction = #0.4
35 phrasingSlurDotted = {
36 \override PhrasingSlur #'dash-period = #0.75
37 \override PhrasingSlur #'dash-fraction = #0.1
39 phrasingSlurSolid = {
40 \revert PhrasingSlur #'dash-period
41 \revert PhrasingSlur #'dash-fraction
44 mergeDifferentlyDottedOn = {
45 \override Staff.NoteCollision #'merge-differently-dotted = ##t
47 mergeDifferentlyDottedOff = {
48 \revert Staff.NoteCollision #'merge-differently-dotted
51 mergeDifferentlyHeadedOn = {
52 \override Staff.NoteCollision #'merge-differently-headed = ##t
54 mergeDifferentlyHeadedOff = {
55 \revert Staff.NoteCollision #'merge-differently-headed
58 shiftOn = \override NoteColumn #'horizontal-shift = #1
59 shiftOnn = \override NoteColumn #'horizontal-shift = #2
60 shiftOnnn = \override NoteColumn #'horizontal-shift = #3
61 shiftOff = \revert NoteColumn #'horizontal-shift
63 tieUp = \override Tie #'direction = #UP
64 tieDown = \override Tie #'direction = #DOWN
65 tieNeutral = \revert Tie #'direction
67 tieDashed = {
68 \override Tie #'dash-period = #0.75
69 \override Tie #'dash-fraction = #0.4
71 tieDotted = {
72 \override Tie #'dash-period = #0.75
73 \override Tie #'dash-fraction = #0.1
75 tieSolid = {
76 \revert Tie #'dash-period
77 \revert Tie #'dash-fraction
80 easyHeadsOn = {
81 \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
82 \override NoteHead #'font-size = #-7
83 \override NoteHead #'font-family = #'sans
84 \override NoteHead #'font-series = #'bold
87 easyHeadsOff = {
88 \revert NoteHead #'stencil
89 \revert NoteHead #'font-size
90 \revert NoteHead #'font-family
91 \revert NoteHead #'font-series
94 aikenHeads = \set shapeNoteStyles = #'#(do re mi fa #f la ti)
96 sacredHarpHeads = \set shapeNoteStyles = #'#(fa #f la fa #f la mi)
98 dynamicUp = {
99 \override DynamicText #'direction = #UP
100 \override DynamicLineSpanner #'direction = #UP
103 dynamicDown = {
104 \override DynamicText #'direction = #DOWN
105 \override DynamicLineSpanner #'direction = #DOWN
108 dynamicNeutral = {
109 \revert DynamicText #'direction
110 \revert DynamicLineSpanner #'direction
114 dotsUp = \override Dots #'direction = #UP
115 dotsDown = \override Dots #'direction = #DOWN
116 dotsNeutral = \revert Dots #'direction
118 tupletUp = \override TupletBracket #'direction = #UP
119 tupletDown = \override TupletBracket #'direction = #DOWN
120 tupletNeutral = \revert TupletBracket #'direction
122 cadenzaOn = \set Timing.timing = ##f
123 cadenzaOff = {
124 \set Timing.timing = ##t
125 \set Timing.measurePosition = #ZERO-MOMENT
128 % dynamic ly:dir? text script, articulation script ly:dir?
129 oneVoice = #(context-spec-music (make-voice-props-revert) 'Voice)
130 voiceOne = #(context-spec-music (make-voice-props-set 0) 'Voice)
131 voiceTwo = #(context-spec-music (make-voice-props-set 1) 'Voice)
132 voiceThree = #(context-spec-music (make-voice-props-set 2) 'Voice)
133 voiceFour = #(context-spec-music (make-voice-props-set 3) 'Voice)
135 voiceOneStyle = {
136 \override NoteHead #'style = #'diamond
137 \override NoteHead #'color = #red
138 \override Stem #'color = #red
139 \override Beam #'color = #red
141 voiceTwoStyle = {
142 \override NoteHead #'style = #'triangle
143 \override NoteHead #'color = #blue
144 \override Stem #'color = #blue
145 \override Beam #'color = #blue
147 voiceThreeStyle = {
148 \override NoteHead #'style = #'xcircle
149 \override NoteHead #'color = #green
150 \override Stem #'color = #green
151 \override Beam #'color = #green
153 voiceFourStyle = {
154 \override NoteHead #'style = #'cross
155 \override NoteHead #'color = #magenta
156 \override Stem #'color = #magenta
157 \override Beam #'color = #magenta
159 voiceNeutralStyle = {
160 \revert NoteHead #'style
161 \revert NoteHead #'color
162 \revert Stem #'color
163 \revert Beam #'color
166 teeny = {
167 \set fontSize = #-3
170 tiny = {
171 \set fontSize = #-2
174 small = {
175 \set fontSize = #-1
178 normalsize = {
179 \set fontSize = #0
182 large = {
183 \set fontSize = #1
186 huge = {
187 \set fontSize = #2
190 %% End the incipit and print a ``normal line start''.
191 endincipit = \context Staff {
192 \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
193 \once \override Staff.Clef #'full-size-change = ##t
194 \once \override Staff.Clef #'non-default = ##t
195 \bar ""
198 autoBeamOff = \set autoBeaming = ##f
199 autoBeamOn = \set autoBeaming = ##t
201 textLengthOn = {
202 \override TextScript #'extra-spacing-width = #'(0 . 0)
203 \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
206 textLengthOff = {
207 \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
208 \override TextScript #'extra-spacing-height = #'(0 . 0)
211 balloonLengthOn = {
212 \override BalloonTextItem #'extra-spacing-width = #'(0 . 0)
213 \override BalloonTextItem #'extra-spacing-height = #'(-inf.0 . +inf.0)
216 balloonLengthOff = {
217 \override BalloonTextItem #'extra-spacing-width = #'(+inf.0 . -inf.0)
218 \override BalloonTextItem #'extra-spacing-height = #'(0 . 0)
222 showStaffSwitch = \set followVoice = ##t
223 hideStaffSwitch = \set followVoice = ##f
225 expandFullBarRests = {
226 \set Score.skipBars = ##f
229 compressFullBarRests = {
230 \set Score.skipBars = ##t
233 numericTimeSignature = {
234 \override Staff.TimeSignature #'style = #'()
237 defaultTimeSignature = {
238 \revert Staff.TimeSignature #'style
242 % For drawing vertical chord brackets with \arpeggio
243 % This is a shorthand for the value of the print-function property
244 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether
245 % cross-staff brackets are desired.
247 arpeggio = #(make-music 'ArpeggioEvent)
249 arpeggioArrowUp = {
250 \revert Arpeggio #'stencil
251 \revert Arpeggio #'X-extent
252 \override Arpeggio #'arpeggio-direction = #UP
254 arpeggioArrowDown = {
255 \revert Arpeggio #'stencil
256 \revert Arpeggio #'X-extent
257 \override Arpeggio #'arpeggio-direction = #DOWN
259 arpeggioNormal = {
260 \revert Arpeggio #'stencil
261 \revert Arpeggio #'X-extent
262 \revert Arpeggio #'arpeggio-direction
264 arpeggioBracket = {
265 \revert Arpeggio #'X-extent
266 \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
268 arpeggioParenthesis = {
269 \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
270 \override Arpeggio #'X-extent = #ly:grob::stencil-width
273 glissando = #(make-music 'GlissandoEvent)
275 fermataMarkup = \markup { \musicglyph #"scripts.ufermata" }
277 hideNotes = {
278 % hide notes, accidentals, etc.
279 \override Dots #'transparent = ##t
280 \override NoteHead #'transparent = ##t
281 \override NoteHead #'no-ledgers = ##t
282 \override Stem #'transparent = ##t
283 \override Beam #'transparent = ##t
284 \override Accidental #'transparent = ##t
288 unHideNotes = {
289 \revert Accidental #'transparent
290 \revert Beam #'transparent
291 \revert Stem #'transparent
292 \revert NoteHead #'transparent
293 \revert NoteHead #'no-ledgers
294 \revert Dots #'transparent
297 germanChords = {
298 \set chordRootNamer = #(chord-name->german-markup #t)
299 \set chordNoteNamer = #note-name->german-markup
301 semiGermanChords = {
302 \set chordRootNamer = #(chord-name->german-markup #f)
303 \set chordNoteNamer = #note-name->german-markup
306 frenchChords = {
307 \set chordRootNamer = #(chord-name->italian-markup #t)
308 \set chordPrefixSpacer = #0.4
311 italianChords = {
312 \set chordRootNamer = #(chord-name->italian-markup #f)
313 \set chordPrefixSpacer = #0.4
316 improvisationOn = {
317 \set squashedPosition = #0
318 \override NoteHead #'style = #'slash
319 \override Accidental #'stencil = ##f
322 improvisationOff = {
323 \unset squashedPosition
324 \revert NoteHead #'style
325 \revert Accidental #'stencil
328 textSpannerUp = \override TextSpanner #'direction = #UP
329 textSpannerDown = \override TextSpanner #'direction = #DOWN
330 textSpannerNeutral = \revert TextSpanner #'direction
334 bassFigureExtendersOn = {
335 \set useBassFigureExtenders = ##t
336 \set Staff.useBassFigureExtenders = ##t
339 bassFigureExtendersOff = {
340 \set useBassFigureExtenders = ##f
341 \set Staff.useBassFigureExtenders = ##f
344 bassFigureStaffAlignmentDown = {
345 \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
348 bassFigureStaffAlignmentUp = {
349 \override Staff.BassFigureAlignmentPositioning #'direction = #UP
352 bassFigureStaffAlignmentNeutral = {
353 \revert Staff.BassFigureAlignmentPositioning #'direction
356 predefinedFretboardsOff = {
357 \set FretBoards.predefinedDiagramTable = ##f
360 predefinedFretboardsOn = {
361 \set FretBoards.predefinedDiagramTable = #fretboard-table
364 pointAndClickOff = #(define-music-function (parser location) ()
365 (ly:set-option 'point-and-click #f)
366 (make-music 'SequentialMusic 'void #t))
368 pointAndClickOn = #(define-music-function (parser location) ()
369 (ly:set-option 'point-and-click #t)
370 (make-music 'SequentialMusic 'void #t))