lilypond-user
[Top][All Lists]
Advanced

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

Re: smaller distance between first Staff and TimeSig


From: Stefan Thomas
Subject: Re: smaller distance between first Staff and TimeSig
Date: Fri, 20 Mar 2009 10:02:59 +0100

Dear Kieren,
thanks for Your help, but I guess, would be still to complicated.
Because I have too many bar changes in the score and too many other
things in the Time-Sig, like ritarrdando, etc.
Or is it maybee possible too hide the Staff, but not too hide the TimeSignature?
I don't know, how to do it in the below quoted example:
\version "2.12.1"
\layout
{
         \context { \RemoveEmptyStaffContext }
       \context { \Score \override TimeSignature #'style = #'() }
       \context { \Staff \override TimeSignature #'stencil = ##f }
}
                

                       noten = \relative {
                        c2 c4 d
                       e4 d e
                       f1 \break
                       d4 c d
                       e1
                       e4 f g a
                       g f e2}
                       global = {  \repeat "unfold" 2 { \time 4/4 s1 \time 3/4 
s2. }
\time 4/4  s1 *3 }
                       \score { <<
                               \new Staff \with
                        {       \revert TimeSignature #'stencil
                                \override TimeSignature #'font-size = #3
                                \override TimeSignature #'X-extent = #'(0 . 0)
                                \override TimeSignature #'Y-offset = #6
                                \override TimeSignature #'break-align-symbol = 
#'staff-bar
                \override TimeSignature #'X-offset: =
#ly:self-alignment-interface::x-aligned-on-self
                            \override TimeSignature #'self-alignment-X = #CENTER
                                \override TimeSignature #'break-visibility = 
#end-of-line-invisible }
                                <<\global  >>
                       \new Staff  \noten  >> }

2009/3/20 Kieren MacMillan <address@hidden>:
> Hi Stefan,
>
>> that sounds good, but I'm not sure if I understood You right. Do You
>> mean a Staff-context without notes, but with Time-Signatures? Could
>> You give me please a very short example?
>
> Hope this helps!
> Kieren.
>
> %%%%%%%%%
> \version "2.12.2"
>
> filler = \repeat "unfold" 48 { c'4 }
>
> \layout
> {
>        \context
>        {
>                \Score
>                \override TimeSignature #'style = #'()
>        }
>        \context
>        {
>                \Staff
>                \override TimeSignature #'stencil = ##f
>        }
> }
>
> global =
> {
>        \time 4/4 s1
>        \time 5/4 s4*5
>        \time 3/4 s4*3
>        \time 4/4 s1*3
> }
>
> \score
> {
>        \new GrandStaff
>        <<
>                \new Staff \with
>                        {
>                                \revert TimeSignature #'stencil
>                                \override TimeSignature #'font-size = #3
>                                \override TimeSignature #'X-extent = #'(0 .
> 0)
>                                \override TimeSignature #'Y-offset = #6
>                        }
>                        << \global \filler >>
>                \new Staff << \global \filler >>
>                \new Staff << \global \filler >>
>        >>
> }
>




reply via email to

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