lilypond-user
[Top][All Lists]
Advanced

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

Reverting TimeSignature after box notation


From: Erik Natanael Gustafsson
Subject: Reverting TimeSignature after box notation
Date: Thu, 03 Aug 2017 10:27:42 +0000

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

reply via email to

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