lilypond-user
[Top][All Lists]
Advanced

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

Re: Reverting TimeSignature after box notation


From: Knute Snortum
Subject: Re: Reverting TimeSignature after box notation
Date: Sat, 5 Aug 2017 08:02:24 -0700

You'll probably get more responses if you create a Minimal Working Example (MWE).  This is the smallest amount of code that will reproduce the problem.

I often find that I stumble over a solution when I'm creating my MWE.


---
Knute Snortum
(via Gmail)

On Thu, Aug 3, 2017 at 3:27 AM, Erik Natanael Gustafsson <address@hidden> wrote:
Hi!

I'm working on a piece while learning lilypond. It uses a bit of box notation so I have the time signatures hidden in the beginning, but then I want them back.

After using
\override Staff.TimeSignature.stencil = ##f
to remove my time signatures, I can revert back using
\revert Staff.TimeSignature.stencil
if I place it before this block of code (making boxes for my box notation)

s2-\markup {
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \override #'(thickness . 3)
  \box
  \with-dimensions #'(-2 . 100) #'(-10 . 10)
  \null} s4.  \bar""|
  s4.-\markup {
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \box
  \with-dimensions #'(-2 . 15) #'(0 . 10)
  \null}  s4.-\markup {
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \box
  \with-dimensions #'(-2 . 9) #'(0 . 10)
  \null}|

but if I place it after this code it has no effect (and gives no error). What am I doing wrong, is it a bug, is there a workaround? I'm on lilypond 2.18.2.

Cheers,
Erik Natanael Gustafsson

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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