lilypond-user
[Top][All Lists]
Advanced

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

Re: suppressing bar numbers at rehearsal marks?


From: Mark Polesky
Subject: Re: suppressing bar numbers at rehearsal marks?
Date: Fri, 19 Dec 2008 01:07:18 -0800 (PST)

Mats Bengtsson wrote:
> >> If you have a good reason to do what you ask 
> >> for, why not simply define a macro which 
> >> both draws a rehearsal mark and does a 
> >> \once \override BarNumber #'transparent = ##t
> > I just gave that a quick test and it didn't 
> > seem to eliminate the bar numbers.
> If you replace it by \once \override 
> Score.BarNumber #'transparent = ##t, 
> it should work. Sorry!

Paul,

alternatively you could use this solution:

barNumberMark = {
  \once \override Score.BarNumber #'break-visibility = #'#(#f #f #f)
  \mark \default
}

\score {
  { ... \barNumberMark ... \barNumberMark ... \barNumberMark ... }
  \layout {
    \context {
      \Score
      markFormatter = #format-mark-box-barnumbers
    }
  }
}

- Mark


      




reply via email to

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