At 13:59 on 13 Apr 2015, Kieren MacMillan wrote:
>The “presentation layer” comprises, in part, choices that must be made
>to physically represent the content on the page, given the page
>geometry, clarity considerations, etc. In this Piano/Conductor
>engraving/presentation, m. 4 immediately follows a line break; since
>the voice staff appears here for the first time (because of
>“frenching” the score), the time signature (2/2) must be included at
>the beginning of the system; however, to make it clear that the piano
>music is still in 12/8, its time signature must be re-displayed, even
>though it hasn’t changed since the last visible time signature (in m.
>1); finally, to make it crystal clear that this is not a change but
>simply a reminder, the piano time signature should be enclosed in
>parentheses (like a “cautionary accidental”). All of these choices
>were forced not by the content, but by the presentation requirements.

\set Staff.timeSignatureFraction = 3/2

seems to work when used as an editionMod (see attached). Yes, it would
be nice to not have to know the actual numbers to use, but there's
probably a way extract that from the context. See
http://lilypond.1069038.n5.nabble.com/How-to-extract-the-current-time-signature-td170857.html

-- 
Mark Knoop
\version "2.18.2"
\include "openlilylib"
\include "editorial-tools/edition-engraver/definitions.ily"

\editionMod score 5 0/8 score.Staff.A \set Staff.timeSignatureFraction = 3/2

uppermusic = \relative c' {
  \time 3/2
  \repeat unfold 8 { c2 c c }
}

lowermusic = \relative c' {
  \time 3/2
  \set Staff.timeSignatureFraction = 18/8
  \scaleDurations 12/18 {
    \repeat unfold 8 { \repeat unfold 18 c8 }
  }
}

\addEdition score

\layout {
  \context {
    \Voice
    \consists \editionEngraver ##f
  }
  \context {
    \Staff
    \consists \editionEngraver score
  }
  \context {
    \Score
    \consists \editionEngraver score
  }
}
% score
\score {
  {
    <<
      \new Staff = upper { \uppermusic }
      \new Staff = lower { \lowermusic }
    >>
  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to