Usually when I work with multiple staves, I keep time sig, key sig, and tempo changes separate from the music.

I upgraded to 2.2.4, and I started experimenting with the alternative way of defining instruments.

Old:
\context Staff = "flauti" <<
\set Staff.midiInstrument = #"flute"
\set Staff.instrument = \markup { \center-align < "Flauto I." > }
\set Staff.instr = \markup { \center-align < "Fl." > }
\barlines
\theFlutes >>


New:
\new Staff {
                        \set Staff.instrument = \markup { "Flauti" }
                        \set Staff.instr = \markup { Fl. }
                        \set Staff.midiInstrument = #"flute"
                        \barlines
                        \new Voice { \Flute }
                }

\barlines contains key/time/tempo changes, like this:

barlines = \notes {
        \override Score.MetronomeMark   #'transparent = ##t
        \override Score.TupletBracket   #'bracket-visibility = ##f
        \override Score.TextScript   #'font-magnification = #1.25
        \set Score.skipBars = ##t

\time 3/4
\key g \major

s2.*17
\time 6/8
}
Originally, the music and \barlines would tie in perfectly. With the changes in definition, lilypond now puts \barlines in front in the form of white space, and then the music follows normally. Any recommendations as to how to avoid this problem?


Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to