lilypond-user
[Top][All Lists]
Advanced

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

Re: where does "override Score.BarNumber ....." go


From: Jay Anderson
Subject: Re: where does "override Score.BarNumber ....." go
Date: Wed, 1 Sep 2010 21:17:08 -0700

On Wed, Sep 1, 2010 at 8:21 PM, James Wilkinson <address@hidden> wrote:
> All the examples that I've found using this line have it in with the notes:
>     \override  Score.BarNumber #'break-visibility = #'#(#t #t #t)
> I'm making a full score for maybe two dozen instruments, each with its own
> music expression. Everywhere that I tried putting this line in the
> description of the score itself caused LilyPond to barf. I finally stuck it
> into the beginning of the Flute I part and got what I wanted on the page,
> but it just doesn't seem right to have to put it into the music for one of
> the instruments instead of into the score specification.
> What's wrong with me?

If you want it to apply globally here's probably what you're wanting to do:

\version "2.13.31"

\layout
{
  \context
  {
    \Score
    \override BarNumber #'break-visibility = #'#(#t #t #t)
  }
}

\score
{
  <<
    \new Staff
    {
      \repeat unfold 40 { c'1 }
    }
    \new Staff
    {
      \repeat unfold 40 { c'1 }
    }
  >>
}

Take a look at 
http://lilypond.org/doc/v2.13/Documentation/notation/changing-context-default-settings
and the surrounding sections for more explanation.

-----Jay



reply via email to

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