lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ledger line crash with very high notes in first chord of system


From: Paul Morris
Subject: Re: ledger line crash with very high notes in first chord of system
Date: Wed, 30 Jan 2013 23:36:50 -0500

On Jan 30, 2013, at 5:32 PM, Jeffrey Trevino <address@hidden> 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:
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 <address@hidden> wrote:
On Jan 28, 2013, at 11:24 AM, Eluze <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]