MarcM <m...@mouries.net> writes:

> thanks David and Mike put me on the right path and closed the loop. For the
> override to work it has to be on the \Score not on the \Staff.
>
> Here is the working "stylesheet_fiddle.ly"  for 3/4 time signature
>
> \layout {
>
> \context {
>
> \Score
>
> \overrideTimeSignatureSettings
>
> 3/4 % timeSignatureFraction
>
> 1/4 % baseMomentFraction
>
> #'(1 1) % beatStructure
>
> #'() % beamExceptions
>
> }
>
> }

My fault.  You can actually just let LilyPond figure out the right
context itself by writing

\layout {
  \overrideTimeSignatureSettings
  3/4 % timeSignatureFraction
  1/4 % baseMomentFraction
  #'(1 1) % beatStructure
  #'() % beamExceptions
}

_That's_ what "use music in output definitions" means.  What I wrote
instead was rather "use music in context definitions", and I got the
wrong context, to boot.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to