On Jan 30, 2013, at 5:32 PM, Jeffrey Trevino <jeffrey.trevi...@gmail.com> wrote:
> A great trick! It looks like beaming and slurring across staffs works well > with this technique, which is marvelous. Hi Jeff, Glad this may prove useful to you. > Is there a way to attach a "treble^8" clef at the beginning of the additional > staff? I figured this out, using this doc page: http://www.lilypond.org/doc/v2.16/Documentation/notation/displaying-pitches#clef See below... > Is there a way to display a chord with a stem across both staffs, which notes > on both staffs? This already Just Works, nothing special needed! \version "2.16.1" \relative c'' { c a' c % begin extended staff \stopStaff \startStaff \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10 4 2 0 -2 -4 ) \override Stem #'no-stem-extend = ##t % print the clef on the extended staff: % \set Staff.clefGlyph = #"clefs.G" \set Staff.clefPosition = #12 \set Staff.clefOctavation = #7 a' g <g a'> <a, a, c' a' cis> <b, b' b'> % restore normal staff \stopStaff \startStaff \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 ) \override Stem #'no-stem-extend = ##f a c } I commented out the line that sets the clefGlyph, since it is not needed for this use case (it is already set as a treble clef). It might be useful for other applications, so I didn't take it out entirely. There are still some spacing tweaks to work out, like maybe pushing the clef to the right a bit so that the staff extends beyond it on the left. Cheers, -Paul > On Mon, Jan 28, 2013 at 11:27 AM, Paul Morris <p...@paulwmorris.com> wrote: > On Jan 28, 2013, at 11:24 AM, Eluze <elu...@gmail.com> wrote: > > > adding > > > > \stopStaff \startStaff > > > > works > > Thanks! I also added an override to keep the stems from being extended all > the way down. Not sure if this is the best approach, but good to know how to > use it. > > -Paul > > > \version "2.16.1" > > \relative c'' { > c a' c > \stopStaff \startStaff > \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10 4 2 0 -2 > -4 ) > \override Stem #'no-stem-extend = ##t > a' c a cis > \stopStaff \startStaff > \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 ) > \override Stem #'no-stem-extend = ##f > a,, c > } > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user