lilypond-user
[Top][All Lists]
Advanced

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

Modifying barline right before a stave is hidden


From: Janek Warchoł
Subject: Modifying barline right before a stave is hidden
Date: Thu, 28 Aug 2014 10:23:13 +0200

Hi all,

is it possible to write a function that does something based on
whether the current context will be visible or hidden in the next
system?  For example, i have

\version "2.19.12"

\layout {
  \context {
    \Score
    \RemoveEmptyStaves
  }
}

fooBarline = {}

<<
  \new Staff {
    \fooBarline
    \repeat unfold 24 c'4
    R1*8
  }
  \new Staff {
    \repeat unfold 24 f'2
  }
>>

And i'd like to define fooBarline so that the last barline before the
staff is hidden (which happens because of RemoveEmptyStaves) is
different.

best,
Janek



reply via email to

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