lilypond-user
[Top][All Lists]
Advanced

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

Re: elegant compound time signatures


From: Neil Puttock
Subject: Re: elegant compound time signatures
Date: Sun, 21 Dec 2008 17:36:33 +0000

Hi Bageh,

2008/12/21 alexandre_ficagna <address@hidden>:
>
> Hi,
>
> Does somebody knows if compound times works with time signatures on top
> <http://lsr.dsi.unimi.it/LSR/Item?id=272> ?
> I tried several tweaks, but they doesn't seem to work in this type of time
> signatures (for example, they remain 5/4, instead of 2/4 + 3/4, and so on).
>
> Any sugestion?

You need to use the correct context when overriding the TimeSignature
object's properties, since its engraver has been removed from the
Staff context.

Here's the relevant code from Graham's snippet:

    % graphical display
    \once \override Staff.TimeSignature #'Y-offset = #3
    \once \override Staff.TimeSignature #'stencil = #ly:text-interface::print
    \once \override Staff.TimeSignature #'text = #(markup

Since the LSR snippet creates a new context called TimeSig, which
\consists the Time_signature_engraver you'll have to amend these
lines:

    \once \override TimeSig.TimeSignature #'Y-offset = #3
    \once \override TimeSig.TimeSignature #'stencil = #ly:text-interface::print
    \once \override TimeSig.TimeSignature #'text = #(markup

Regards,
Neil




reply via email to

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