Hi Bill,
here's how I'd do:
\version "2.18.2"
global = {
\time 3/4
\key g\major
}
menuet = {
%% PART A
\repeat volta 2 {
% mes.0
\partial 4 s4 |
% mes.1-7
\repeat unfold 7 { s2. | }
% mes.8a
s2 % <= no barcheck (incomplete measure)
}
%% PART B
\repeat volta 2 {
% mes.8b
s4 | % <= barcheck (end of measure 8)
% mes.9-15
\repeat unfold 7 { s2. | }
}
\alternative {
{
% mes.16
\set Timing.measureLength = #(ly:make-moment 1/2)
s2 | % <= barcheck (complete measure 16)
}
{
% mes.17a
\set Timing.measureLength = #(ly:make-moment 3/4)
s4. % <= no barcheck (in complete measure 15)
}
}
%% PART C
\tempo "Trio"
\repeat volta 2 {
% mes.17b
s4. | % <= barcheck (end of measure 17)
% mes.18-24
\repeat unfold 7 { s2. | }
% mes.25a
s2 % <= no barcheck (incomplete measure)
}
%% PART D
\repeat volta 2 {
% mes.25b
s4 | % <= barcheck (end of measure 25)
% mes.26-32
\repeat unfold 7 { s2. | }
}
\alternative {
{
% mes.33
\set Timing.measureLength = #(ly:make-moment 3/8)
s4. | % <= barcheck (complete measure 33)
}
{
% mes.34
\set Timing.measureLength = #(ly:make-moment 1/2)
s2 |% <= barcheck (complete measure 34)
}
}
%% fine
\bar "|."
}
\header {
title = "Six Minuets"
composer = "Ludwig van Beethoven"
opus = "WoO 10"
piece = "Menuet No.2"
}
\score {
\new PianoStaff <<
\new Staff = "right hand" { \global \clef G \menuet }
\new Staff = "left hand" { \global \clef F \menuet }
>>
\layout {
system-count = 5
}
}
HTH,
Pierre
2015-07-01 8:48 GMT+02:00 David Kastrup <[email protected]>:
> Chris Yate <[email protected]> writes:
>
> > On 1 Jul 2015 04:56, "Helge Kruse" <[email protected]> wrote:
> >>
> >> Hi Bill,
> >>
> >> Can you please include a minimal compilable example that shows your
> >> problem? I don't plan to do both
> >> - goto the next shop or library to get that menut
> >> - guess what 'part' expresses in the context of that piece
> >> - write an example that could probably the same problems yours have
> >>
> >> Partial measures are possible in different ways, also 'in the middle'.
> >
> > I have had this exact problem with typesetting Beethoven before.
> >
> > One solution is to temporarily change the time signature, but remove the
> > time signature engraver. I'll try to find an example later (on my phone
> > just now).
>
> The simplest solution is likely to use version 2.19.12 or later. Some
> changes for allowing \time in connection with \partial have been
> committed in 2.19.16 as well.
>
> --
> David Kastrup
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user