Rainer Dunker wrote:
> 
> On Tue, Jan 15, 2002 at 10:52:14AM +0100, j.j. R�torr� wrote:
> > How can I get a continuation rule until the end of a bar
> > [...]
> > I want the word <<regrets>> third bar alto line ended by a continuation
> > rule. If I use a \beginmel..\endmel\ the lyrics are shifted one note too
> > much.
> 
> Indeed! You're seeking for another construct, \lyrrule...\lyrruleend.
> Changing the alto line of your example to, say,
> 
>  f0  | d2 g | \lyrrule\ f0 | \lyrruleend\ rp | r4 f f f |%
> 
> yields the desired line, but it extends into the next bar
> which is of course not what you want. I presume the line should end
> synchronously to the last eighth notes of the other voices in that bar;
> what you'd need for this is sort of a blind note or rest on that beat in
> the alto voice that you could attach the \lyrruleend to. Admittedly, I'm
> not trained enough in using M-Tx/PMX to know ad hoc how to accomplish
> this; perhaps some M-Tx/PMX guru can help here ...
> 
> Alternatively, you could end the line under the next barline. This would
> require something like \def\atnextbar{\znotes...\lyrruleend\en}.
> Unfortunately, PMX itself apparently ignores custom \atnextbar contents
> (at least release 2.3 -- which I'm using -- does so) so that some
> MusiXTeX hacking would be required in order to use this method; so I
> don't really recommend it.

A 'dirty' solution on the M-Tx/PMX level could be:

Style: SATB4
Meter:  m2/2/0/0
Sharps: 2
Indent: 0.10
Name: Soprano Alto T\'enor Basse
Bars/Line:6
Size: 16
Title: MILLE REGRETS DE VOUS ABANDONNER
Composer: Josquin Desprez (1442-1527)

% Mesures 1-2
f0 | b2 b | 
L: Mil-le re-
f0 | d2 g | 
L: Mil-le re-
rp | rp | 
f0 | g2 e | 
L: Mil-le re-

% Mesure 3
m9/8/0/0 \beginmel\ a2d [[ g8 f ] r8b | 
L: grets 
m9/8/0/0 \lyrrule\ f0 \lyrruleend\ r8b | 
L: grets de vous a-ban-don-ner
m9/8/0/0 f2d g4 r8b | 
L: Mil--
m9/8/0/0 \beginmel\ f2d [[ e8 d ] X-3 r8b | 
L: grets

% Mesures 4-5
m2/2/0/0 e4d d8 e2 | \endmel\ d4 d+ d d |%
L: de vous a-ban-don-ner
m2/2/0/0 rp | r4 f f f |%
L: de vous a-ban-don-ner
m2/2/0/0 a2 a | b r4 b |%
L: le re-grets de vous a-ban-don-ner
m2/2/0/0 c4d b8 c2 | \endmel\ b0 |%
L: de vous a-ban-don-ner

The idea is to add an extra \lyrruleend\ anchoring point, a blind rest
(r8b) to bar 3 and then compensate for the extra spacing with the PMX
horizontal offset command 'X'. A drawback with this solution is that it
prevents generation of reasonable MIDI output because the extra 8th note
*will* be relected in the MIDI result.

Bye
-- 
Christian Mondrup, Computer Programmer
Scandiatransplant, Skejby Hospital, University Hospital of Aarhus
Brendstrupgaardsvej, DK 8200 Aarhus N, Denmark
Phone: +45 89 49 53 01 - http://www.scandiatransplant.org
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to