lilypond-user
[Top][All Lists]
Advanced

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

Re: time signature above staff AND Notes instead of numbers


From: Mats Bengtsson
Subject: Re: time signature above staff AND Notes instead of numbers
Date: Thu, 04 Aug 2005 10:33:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

How about something like
\markup { \vcenter {\fontsize #3 ( \teeny \number \column { "6" "4" } \fontsize #3 ) } }

  /Mats

Bec and John Silva wrote:
Hi,

Thanks guys for your excellent responses!

One final question on the issue - is it possible to wrap the time signature in parenthesis instead of brackets? I was trying by altering the font sizes so the parenthesis was large enough to cover both columns, but it was getting messy very fast and I didn't quite get it looking right.

- John


The distance from the staff to the bottom edge of the \mark is
determined by the padding property of the RehearsalMark object,
as described in the "The \override Command" section of the manual.
So,
  \once \override Score.RehearsalMark #'padding = #0.0
will place it so it touches the staff.
You may also want to play with the horizontal alignment, for example
  \once \override Score.RehearsalMark #'self-alignment-X = #-1
to make it left aligned instead of the default centering.

Finally, \override Staff.TimeSignature #'transparent = ##t will leave
an empty space in the stave where the time signature would have been
printed. If you want to get rid of this extra space, you could instead
do   \override Staff.TimeSignature #'print-function = ##f


   /Mats



<and>

I would make a context LargeTimeSignatures which contains only a Time_signature_engraver, something like

\header {
  texidoc = "Time signatures may be put on a separate staff.
This is used contemporary pieces with many time signatures
"
}
\version "2.6.0"
\layout {
  raggedright =  ##T
}

\layout{
  \context {
    \type "Engraver_group_engraver"
    \consists "Time_signature_engraver"
    \consists "Axis_group_engraver"
    \name "TimeSig"
    \override TimeSignature #'font-size = #4
  }
  \context {
    \Score \accepts TimeSig
  }

  \context { \Staff \remove "Time_signature_engraver" }
}


\relative
<< \new Staff { \time 2/4 c2 \time 3/4 c2. \time 4/4 c1 }
   \new TimeSig {
     \skip 1 * 2
   }
   \new Staff { r4 r r
        r4 r r
        r4 r r }

 >>

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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