|
From: | Alexander Kobel |
Subject: | Re: Where does "\override Score.BarNumber ..." go |
Date: | Fri, 03 Sep 2010 10:16:06 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 |
On 2010-09-03 00:54, James Wilkinson wrote:
Jay Anderson wrote:If you want it to apply globally here's probably what you're wantingto 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 } } >> }Looking at this has a) fixed my problem and b) made me notice that we have both \score and \Score. Time for some more RTFM.
AFAIU, \score { ... } acts like a shortcut for \new Score { ... }. Thus,\new Score \with { \override BarNumber #'break-visibility = #'#(#t #t #t) } { \new Staff \repeat unfold 40 c'1 }
will work as well.But this makes me wonder: I vaguely remember a distinction of \score and \new Score, which I can't find in the docs. Actually, I'm not sure the \new Score construct is even mentioned in the docs. Is this intentional? Is it unnecessarily complicated? Are there drawbacks of using it?
Cheers, Alexander
[Prev in Thread] | Current Thread | [Next in Thread] |