lilypond-user
[Top][All Lists]
Advanced

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

Re: Key signature and clef sneaking in


From: Pierre Perol-Schneider
Subject: Re: Key signature and clef sneaking in
Date: Tue, 1 Mar 2016 17:15:27 +0100

Hi Simon, Hi Kieren,

How about:

<<
  \new Staff \relative {
    \key es \major
    es'8 f g as bes c d es
  }
  {
    \skip 1*1/100
    \new Staff \relative {
      \key es \major
      \once\omit Staff.TimeSignature
      \once\override Staff.Clef.extra-offset = #'(.5 . 0)
      s4*96/100 s4 es'2
    }
  }
>>

Cheers,
~Pierre

2016-03-01 16:03 GMT+01:00 Kieren MacMillan <address@hidden>:
Hi Simon,

> If I have a new Staff appearing in the middle of a system, how can I make the key signature and clef not expand spacing in the other staves, i.e. shift to the right below the previous music?

Maybe there’s a hint here?

<<
  \new Staff \relative {
    \key es \major
    es'8 f g as bes c d es
  }
  {
    \skip 2
    \new Staff \relative {
      \key es \major
      \override Staff.Clef.X-extent = #empty-interval
      \override Staff.Clef.extra-offset = #'(-6 . 0)
      \override Staff.KeySignature.X-extent = #empty-interval
      \override Staff.KeySignature.extra-offset = #'(-3 . 0)
      \once \omit Staff.TimeSignature
      es'2
    }
  }
>>

Hope this helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden


_______________________________________________
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]