> From: Dirk Laurie <[EMAIL PROTECTED]>
> Date: Mon, 7 Sep 1998 12:32:24 +0200 (SAT)
> 
> This post will raise a pure MusiXTeX question and a PMX question.
> Here is an invalid PMX input file:
> 
> ------------------------------------------------------------------
> 1 1 4 4 0 6  0.00000 0 1 1 20 0
> 
> 6
> ./
> rp-6         | g43 a4 b4 g4 | c0 //
> c43 d4 e4 f4 | rp+6         | c0 /
> ------------------------------------------------------------------
> 
> It describes what I want to do, but is invalid because rp does not 
> take modifiers.  What I want is:
> 
> Bar 1: music in the upper melodic strand, pause 6 internotes below
> center in the lower.
> 
> Bar 2: music in the lower melodic strand, pause 6 internotes above
> center in the upper.

Use r0 instead of rp. This fixes the first bar, but not the 2nd, because
there is the PMX-error that "r0" in upper voices are suppressed for
unknown reason. (If I remember right, you - Dirk - said, that it isn't
a bug, but a (useful) feature. But maybe it was misunderstanding :-)
 
[... In-line TeX solution deleted ...]

> This nearly gives what I want.  The second \pause symbol should appear
> on the second leger line above the staff (where the note E would appear)
> but just hangs in mid-air.
> 
> 1. To MusiXTeX experts: what must I do to get those two leger lines?

As far as I know, a whole or full bar rest does not have ledger lines.
To discriminate it from half bar rests, the later has one "built-in"
ledger line.

You should post it as near as possible to the lower voice.

If in a similar case I had a need for ledger lines I would look at
how whole notes are made and how noteheads e.g. drum notes are
exchanged. So one could generate a whole note without a note head :-)

> 2. To PMX experts: why do I need to put the MP1 and MP2 in the block
>    after the rest instead of the block containing it?

Because ///-Inline-TeX appears just in front of the next "\xbar" or
"\alaligne". I.e. a PMX-input block starts with a bar-line.

>                                                       BTW, if I put
>    everything in one block I get the wrong result, even with bar line
>    marking it off like the above.  I also get the same wrong result 
>    if the MP immediately follows the r0b here: the first pause vanishes
>    and the second one appears in the first bar.

Bar line markings in PMX-input are (up to now) only for debugging purposes.

Instead of using "\\\def\atnextbar" at the beginning of an input block you may 
use "\gdef\atnextbar" (\global\def) just before the last "real" PMX-item in
a bar. ("Real" PMX items are notes, rests, ???, but not: non-spacing notes,
ornaments, slurs, ...

-- Werner

Reply via email to