lilypond-user
[Top][All Lists]
Advanced

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

Re: stylesheet that override defaults


From: David Kastrup
Subject: Re: stylesheet that override defaults
Date: Fri, 22 Nov 2013 15:33:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

MarcM <address@hidden> 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




reply via email to

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