From: Graham Percival Date: Thu, 18 Aug 2005 22:01:02 +0000 (+0000) Subject: Change direction #1, #-1 into #up, #down. X-Git-Tag: release/2.7.6~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f8e3174c6d8404c3c897c04059c2340644b49029;p=lilypond.git Change direction #1, #-1 into #up, #down. --- diff --git a/ChangeLog b/ChangeLog index 9a731beda7..1db43919af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-18 Graham Percival + + * input/ {various}: change direction #1, #-1 to + #up/#down or \fooUp, \fooDown. + 2005-08-18 Han-Wen Nienhuys * lily/include/engraver-group.hh: rename. diff --git a/input/les-nereides.ly b/input/les-nereides.ly index dea383a68c..03399daa37 100644 --- a/input/les-nereides.ly +++ b/input/les-nereides.ly @@ -74,7 +74,7 @@ treble = \new Voice \relative c''{ r8 8(\mf % \fingerUp - \override Fingering #'direction = #1 + \override Fingering #'direction = #up e)-1-4-5 r @@ -90,7 +90,7 @@ trebleTwo = \new Voice \relative c''{ \stemDown \slurDown % \fingerDown - \override Fingering #'direction = #-1 + \override Fingering #'direction = #down s2 | %1 s1*2 @@ -137,12 +137,12 @@ bass = \new Voice \relative c{ % \once \override Stem #'length = #6 %tweak 4\sustainDown \change Staff=treble - - \revert Stem #'direction - \override Stem #'direction = #-1 + + \stemNeutral + \stemDown )\arpeggio \change Staff=bass - \revert Stem #'direction + \stemNeutral r2 | %4 @@ -173,7 +173,7 @@ bass = \new Voice \relative c{ \slurUp % \fingerDown - \override Fingering #'direction = #-1 + \override Fingering #'direction = #down \override Staff.SustainPedalLineSpanner #'staff-padding = #3.5 %tweak diff --git a/input/mutopia/F.Schubert/standchen.ly b/input/mutopia/F.Schubert/standchen.ly index 0d4faec693..02de0f4254 100644 --- a/input/mutopia/F.Schubert/standchen.ly +++ b/input/mutopia/F.Schubert/standchen.ly @@ -42,9 +42,6 @@ instrument = "Piano" \version "2.5.18" -dynamicUp = \override DynamicLineSpanner #'direction = #1 -dynamicRevert = \revert DynamicLineSpanner #'direction - #(set-global-staff-size 16) vocalVerse = \relative c''{ diff --git a/input/mutopia/R.Schumann/romanze-op28-2.ly b/input/mutopia/R.Schumann/romanze-op28-2.ly index 26ad78c99f..e1d0fa9188 100644 --- a/input/mutopia/R.Schumann/romanze-op28-2.ly +++ b/input/mutopia/R.Schumann/romanze-op28-2.ly @@ -123,7 +123,7 @@ rightb = \transpose c cis' { f,8.. f32^1 g8^2 a4.) | a4^1( c8^1_\accent~[c b)] g16^1([ b^2] | c4)^1 es8^1~es d^1 f^1~ | - \override PianoStaff.Arpeggio #'direction = #1 + \override PianoStaff.Arpeggio #'direction = #up f f8.. f32^1( as4.)^\fermata\arpeggio ~ | \revert PianoStaff.Arpeggio #'direction \stemUp \tieUp as r4 r8 | @@ -257,7 +257,7 @@ leftb = \transpose c cis { \set PianoStaff.instrument = " 2." \context Staff = "up" { - \override Staff.DynamicLineSpanner #'direction = #-1 + \override Staff.DynamicLineSpanner #'direction = #down \clef G <<\global \context Voice = "upv" \righta >> } \context Staff = "mid" { @@ -270,7 +270,7 @@ leftb = \transpose c cis { \clef F <<\global \context Voice = "midv" \rightb>> } \context Staff = "down" { - \override Staff.DynamicLineSpanner #'direction = #1 + \override Staff.DynamicLineSpanner #'direction = #up \clef F << \global \context Voice = "lva" \lefta \context Voice = "lvb" \leftb >> } diff --git a/input/mutopia/claop.py b/input/mutopia/claop.py index efef518631..b472de991a 100644 --- a/input/mutopia/claop.py +++ b/input/mutopia/claop.py @@ -276,7 +276,7 @@ sys.stdout.write (r""" #'(end * * * *) = #(ly:make-moment 1 4) \property Score.skipBars = ##t \context StaffGroup < - \property StaffGroup.Stem \override #'direction = #1 + \property StaffGroup.Stem \override #'direction = #up """) diff --git a/input/regression/arpeggio.ly b/input/regression/arpeggio.ly index d48ccf8ed3..8d35d97442 100644 --- a/input/regression/arpeggio.ly +++ b/input/regression/arpeggio.ly @@ -11,7 +11,7 @@ Arpeggios are supported, both cross-staff and broken single staff. \context PianoStaff << \new Staff \relative c''{ \arpeggio - \override Staff.Arpeggio #'arpeggio-direction = #1 + \arpeggioUp \arpeggio %%\override PianoStaff.SpanArpeggio #'connect = ##t \set PianoStaff.connectArpeggios = ##t @@ -20,7 +20,7 @@ Arpeggios are supported, both cross-staff and broken single staff. \new Staff\relative c{ \clef bass \arpeggio - \override Staff.Arpeggio #'arpeggio-direction = #-1 + \arpeggioDown \arpeggio \arpeggio } diff --git a/input/regression/figured-bass.ly b/input/regression/figured-bass.ly index db37393474..85ba15eba0 100644 --- a/input/regression/figured-bass.ly +++ b/input/regression/figured-bass.ly @@ -14,7 +14,7 @@ last bass figure. << \figures { <3 [5 7]> - \once \override BassFigure #'direction = #-1 + \once \override BassFigure #'direction = #down <3 [5 7]> <3 [5] 7 [9 11]> <3+ 5- 7!> diff --git a/input/regression/spacing-bar-stem.ly b/input/regression/spacing-bar-stem.ly index 68cd8d1487..d8df82bc86 100644 --- a/input/regression/spacing-bar-stem.ly +++ b/input/regression/spacing-bar-stem.ly @@ -9,17 +9,15 @@ Accidentals after the barline get some space as well. " } -sd = \override Stem #'direction = #-1 -su = \override Stem #'direction = #1 \relative c'' { %%\override Staff.StaffSpacing #'stem-spacing-correction = #10 %%\override Staff.NoteSpacing #'stem-spacing-correction = #10 - \time 1/4 \sd c4 \su c4 - \sd c4 \su c4 - \sd f c,4 c'4 cis4 \stemUp c4 + \time 1/4 \stemDown c4 \stemUp c4 + \stemDown c4 \stemUp c4 + \stemDown f c,4 c'4 cis4 \stemUp c4 } \layout { raggedright = ##t} diff --git a/input/regression/spacing-stem-bar.ly b/input/regression/spacing-stem-bar.ly index 52086b9374..3310b800d0 100644 --- a/input/regression/spacing-stem-bar.ly +++ b/input/regression/spacing-stem-bar.ly @@ -8,8 +8,6 @@ space. This is an optical correction similar to juxtaposed stems. } -sd = \override Stem #'direction = #-1 -su = \override Stem #'direction = #1 \relative e' { @@ -17,7 +15,7 @@ su = \override Stem #'direction = #1 %%\override Staff.NoteSpacing #'stem-spacing-correction = #0.5 \time 3/8 - \su + \stemUp e8 e e f f f a a a diff --git a/input/regression/spacing-stem-direction.ly b/input/regression/spacing-stem-direction.ly index 1bfeb562f9..8762620c97 100644 --- a/input/regression/spacing-stem-direction.ly +++ b/input/regression/spacing-stem-direction.ly @@ -14,7 +14,7 @@ much to correct." \context Voice \relative c { %% make sure neutral is down. - \override Stem #'neutral-direction = #-1 + \override Stem #'neutral-direction = #down \time 16/4 c''4 c c, c' d, c' e, c' f, c' g c a c b c } diff --git a/input/regression/stem-tremolo.ly b/input/regression/stem-tremolo.ly index 61098a6b82..6482c3a674 100644 --- a/input/regression/stem-tremolo.ly +++ b/input/regression/stem-tremolo.ly @@ -12,7 +12,7 @@ tremolo must be centered on the note. \context Voice \relative c''{ - \override TextScript #'direction = #1 + \textSpannerUp \override TextScript #'padding = #5 a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":" a4:4 c:8 a:16 c:32 a a: a2: diff --git a/input/regression/tie-chord.ly b/input/regression/tie-chord.ly index 14918a5833..2230837fd9 100644 --- a/input/regression/tie-chord.ly +++ b/input/regression/tie-chord.ly @@ -16,7 +16,6 @@ t = \relative c' { ~ } \t \transpose c g \t - \override TieColumn #'direction = #-1 \t } diff --git a/input/regression/tuplet-properties.ly b/input/regression/tuplet-properties.ly index c968531b40..cab4fd1183 100644 --- a/input/regression/tuplet-properties.ly +++ b/input/regression/tuplet-properties.ly @@ -24,7 +24,7 @@ for instance, bracketed (B) and non-bracketed (NB). \override TupletBracket #'bracket-visibility = #'if-no-beam \times 2/3 { c8[ c c] } - \override TupletBracket #'direction = #1 + \tupletUp \override TupletBracket #'number-visibility = ##f \times 2/3 { c8^""^""^"up, no digit" c[ c] } \revert TupletBracket #'number-visibility @@ -37,7 +37,7 @@ for instance, bracketed (B) and non-bracketed (NB). \revert TupletBracket #'shorten-pair \override TupletBracket #'bracket-flare = #'(0.5 . 0.5) \times 2/3 { b^""^""^"angled edges" b b } - \revert TupletBracket #'direction + \tupletNeutral \times 2/3 { b b b } } diff --git a/input/screech-boink.ly b/input/screech-boink.ly index 6ee16df6ca..967659055b 100644 --- a/input/screech-boink.ly +++ b/input/screech-boink.ly @@ -23,7 +23,7 @@ c'''32 \change Staff = down g16] \change Staff = up - \override Stem #'direction = #1 + \stemUp \set followVoice = ##t c'''32([ b''16 a''16 gis''16 g''32)] } \\ { s4 \times 2/3 { d'16[ f' g'] } as'32[ b''32 e'' d''] } \\ @@ -46,7 +46,7 @@ } \\ { - \override Staff.Arpeggio #'arpeggio-direction =#-1 + \override Staff.Arpeggio #'arpeggio-direction =#down 4\arpeggio } >> } diff --git a/input/test/ancient-font.ly b/input/test/ancient-font.ly index 7eb825da10..e135a20c5d 100644 --- a/input/test/ancient-font.ly +++ b/input/test/ancient-font.ly @@ -262,7 +262,7 @@ lowerStaff = \context MensuralStaff = "lowerStaff" << \override Accidental #'style = #'mensural \override Custos #'style = #'mensural \override Custos #'neutral-position = #3 - \override Custos #'neutral-direction = #-1 + \override Custos #'neutral-direction = #down clefGlyph = #"clefs.petrucci.c2" clefPosition = #-2 clefOctavation = #0 @@ -280,7 +280,7 @@ lowerStaff = \context MensuralStaff = "lowerStaff" << \override Accidental #'style = #'vaticana \override Custos #'style = #'vaticana \override Custos #'neutral-position = #4 - \override Custos #'neutral-direction = #-1 + \override Custos #'neutral-direction = #down clefGlyph = #"clefs.vaticana.do" clefPosition = #1 clefOctavation = #0 diff --git a/input/test/mensural-ligatures.ly b/input/test/mensural-ligatures.ly index bc14e87054..70c9a5636e 100644 --- a/input/test/mensural-ligatures.ly +++ b/input/test/mensural-ligatures.ly @@ -68,7 +68,7 @@ voice = \transpose c c' { \override Accidental #'style = #'mensural \override Custos #'style = #'mensural \override Custos #'neutral-position = #3 - \override Custos #'neutral-direction = #-1 + \override Custos #'neutral-direction = #down clefGlyph = #"clefs.petrucci.g" clefPosition = #-2 clefOctavation = #-0 diff --git a/input/test/move-specific-text.ly b/input/test/move-specific-text.ly index 4222278bea..c251f0a672 100644 --- a/input/test/move-specific-text.ly +++ b/input/test/move-specific-text.ly @@ -10,7 +10,7 @@ Objects, like text, can be moved around by using some Scheme code. \score { \relative c''' { - \override Stem #'direction = #1 + \stemUp \applyoutput #(outputproperty-compatibility (make-text-checker (make-simple-markup "m.d.")) 'extra-offset '(-3.5 . -4.5)) a^2^"m.d."