lilypond-user
[Top][All Lists]
Advanced

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

Re: How to deal with Time Signatures horizontal alignment?


From: Kieren MacMillan
Subject: Re: How to deal with Time Signatures horizontal alignment?
Date: Thu, 9 Aug 2007 14:58:51 -0400

Hi Valentin,

If the top Staff of the StaffGroup is always present (i.e., never gets French-ed out), then you can simply use something like the enclosed snippet.
If your top Staff is variable, you'll need to work a little harder!  =)

Hope this helps,
Kieren.
_________________________

\version "2.10.25"

timeSigMusic = \relative
{
        \time 4/4 c'4 c c c
        \time 3/2 c c c c c c
        \time 5/8 c8 c c c c
        \time 2/4 c4 c
}

\layout
{
        %%  take away the TimeSignature (and space) for all Staff objects
        \context
        {
                \Staff
                \override TimeSignature #'stencil = ##f
                \override TimeSignature #'X-extent = #'(0 . 0)
        }
}

\score
{
        \new StaffGroup
        <<
                \new Staff
                        \with
                        {
                                %%  bring back (and adjust) TimeSignature for 
this Staff (only)
                                \revert TimeSignature #'stencil
                                \override TimeSignature #'font-size = #4
                                \override TimeSignature #'extra-offset = #'(0 . 
7)
                        }
                        << \timeSigMusic >>
                \new Staff << \timeSigMusic >>
                \new Staff << \timeSigMusic >>
                \new Staff << \timeSigMusic >>
        >>
}




reply via email to

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