lilypond-user
[Top][All Lists]
Advanced

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

Re: Force LilyPond to show same time signature again


From: Hajo Baess
Subject: Re: Force LilyPond to show same time signature again
Date: Sat, 20 Apr 2024 13:56:08 +0000

What you suggest sounds all so common-sense, but LilyPond still does
not get it...
If I implant "\omit Score.TimeSignature" and "\undo \omit
Score.TimeSignature" into my code instead of the previous commands, I
get this - see screenshot.

But if I do something really basic like:

\version "2.24.2"
\language "deutsch"

\relative c''  {
        \time 3/4 c4 c c c2 c4
        \time 3/4 c4 c c c2 c4
        \omit Score.TimeSignature
        \time 3/4 c4 c c c2 c4
        \undo \omit Score.TimeSignature
        \time 3/4 c4 c c c2 c4
        \bar "|."
}

it works as expected. It really seems to have something to do with the
scaled rhythms - that is my guess. 

Unfortunately my exact situation is not covered in the NR - at least I
could not find anything.


Am Samstag, dem 20.04.2024 um 06:01 -0700 schrieb Knute Snortum:
> On Sat, Apr 20, 2024 at 4:17 AM Hajo Baess <habae@posteo.de> wrote:
> 
> > If I do this, I get other unwanted results - see screenshot. The
> > problem is that I am switching back and forth between scaled and
> > non-
> > scaled rhythm. And as you will notice, the 6/4 only appears in the
> > piano staff and  n o t   in the top parts. And the 3/4 also does
> > not
> > appear (although I think it should) in the top part like in bars
> > 195
> > and 197...
> > 
> > Is there no simple way to just toggle "\override
> > Score.TimeSignature.stencil = ##f " ?
> > 
> > 
> Simpler than
> 
>   \override Score.TimeSignature.stencil = ##f
>   \override Score.TimeSignature.stencil = ##t
> 
> ?
> 
> You could use
> 
>   \omit Score.TimeSignature
> 
> instead of
> 
>   \override Score.TimeSignature.stencil = ##f
> 
> and use
> 
>   \undo  \omit Score.TimeSignature
> 
> for
> 
>   \override Score.TimeSignature.stencil = ##t
> 
> If you wanted to shorten it more, you could put this at the top of
> your
> file:
> 
>   stopTimeSignature = \omit Score.TimeSignature
>   startTimeSignature = \undo \omit Score.TimeSignature
> 
> 
> Then you could use
> 
>   \stopTimeSignature <music> \startTimeSignature
> 
> in your file.
> 
> 
> --
> Knute Snortum

Attachment: Auswahl_084.png
Description: PNG image

Attachment: Auswahl_085.png
Description: PNG image


reply via email to

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