Controlling the horizontal position of ending segments of staff-jumping
beams is discussed in the PMX manual near the bottom of p.12: "Sometimes the
ending section's up-downness must be overridden; you will know this is so if
the ending is shifted horizontally." So for example use [jl af84 zc ze
o^-1 ] instead of [ju af84 zc ze o^-1 ]. Then you may also want to lessen
the space before the closing note; X-1 seems to work as it should in this
case.  But you can do all this within PMX, without using inline TeX.

The accidental crashing into the clef is a bug I'll try to fix. Andre's
in-line solution is a good way to deal with it for now, although I'd use a
smaller shift. This would require using \loffset{.8}{\pmxclef##1##2}}}\
instead of \loff{\pmxclef##1##2}}}\ .  There's a good general principle
illustrated by this example.  To work out an inline TeX solution using the
"redefinition" method, look at the unaltered tex file, see if there's a way
to get the desired result by adding some TeX around a single command that's
already there, and then design the redefinition accordingly.  There's also
something I always do for safety that Andre didn't, which is to include a
\let at the end of the redefinition that sets the definition back to what it
was originally.

When the half note coincides with the first note of a triplet, it would be
possible using advanced in-line TeX to make the triplet notehead disappear,
but I believe it would be incorrect notation. Only if the two coincident
notes had the same duration should they share the same notehead.

Type-3 inline strings are always placed before the \pnotes at the start of
an input block, regardless of exactly where they appear in the pmx file. So
\\\PCL\ should logically appear at the beginning of the block in the pmx
file.  Andre's placement gives the same result, this is just a cosmetic and
logical issue.

--Don Simons


Andre Van Ryckeghem wrote
>
> I hope this will do it
> Andre
> -----
>
> 2 1 3 4 3 4 0 0
> 0 2 20 0
>
> bt
> ./
> Abi.14
> B
> \\let\qbsav\qb\
> \\def\HA{\
>  \\def\qb##1##2{\let\qb\qbsav\ha{##2}}}\
> \\let\pmxclefsav\pmxclef\
> \\def\PCL{\
>  \\def\pmxclef##1##2{\let\pmxclef\pmxclefsav\loff{\pmxclef##1##2}}}\
> % Bar 53
> gn21 \\\PCL\ o> zg+n Ct [u+4+11 f84 zaf zc o^ ]j rb8  Rd //
> \HA\ [-1 gnfi42x3 d+ g ] rb2 /
> rb4 [ b43x3nf d g ] rb8 [ju af84 zc ze o^-1 ]  //
> bn24 zd zgn<.85 zbn o^-2 d4- zaf+ zc zdr /
>
> % Bar 94
> K+0-3 Cb bu41 o> dfu o> enu o> //
> rb2 rbd8 [jl cf14 ] /
> [+2 cfi- f- a f ] [+2 dni+ a c a ] [ f+ c d ]j rb //
> cf4-- o> dn o> fn o> /
> ------
>
> ----- Original Message -----
> From: "Luigi Cataldi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 01, 2001 11:09 AM
> Subject: [TeX-music] Beam across staves and other problems
>
>
> > Thanks very much Andre and Jean-Pierre for your help.
> >
> > I have some other problems with the two PMX bar copied below
> (bar 53 and 94
> > extract from the "Poems of the Sea" by Ernest Bloch for piano).
> >
> > 1) The beam of the last two chord of the first bar (bar 53)
> jumps from the
> > lower to the upper staff. In the resulting musixtex code the
> beam ends with
> > \tbu instead of \tbl, so the beam is wrong. Nearly the same
> happens in the
> > second bar (bar94).
> >
> > 2) in the first bar (Bar 53) I can't avoid the overlap between
> the treble
> > clef and the flat that come after in the lower staff. I've tried to use
> > extra hard space (X), but I can't correct this error (probably for my
> > personal ineptitude, I know!).
> >
> > 3) At the beginning of the first bar (bar 53), in the lower
> staff, the half
> > note g natural of the lower voice coincides with the first note of the
> > triplet of the upper voice. I have left shifted the upper g.
> This solution
> > is fairly well for me, but there would be a better solution: to put only
> > one white notehead for both the notes. Is it possible?
> >
> > Can anyone help me?
> >
> > Thanks
> >
> > %%%%%%%%%%%%%%% PMX code
> > 2 1 3 4 3 4 0 0
> > 0 2 20 0
> >
> > bt
> > ./
> > Abi.14
> > B
> > % Bar 53
> > gn21 o> zg+n<.85 Ct [u+4+11 f84 zaf zc o^ ]j rb8  Rd //
> > [ gnie42x3n-1+.5 d+ g ] rb2 /
> > rb4 [ b43x3nf d g ] rb8 [jl af84 zc ze o^-1 ]  //
> > bn24 zd zgn<.85 zbn o^-2 d4- zaf+ zc zdr /
> >
> > % Bar 94
> > K+0-3 Cb bu41 o> dfu o> enu o> //
> > rb2 rbd8 [uj cf14 ] /
> > [+2 cfi- f- a f ] [+2 dni+ a c a ] [ f+ c d ]j rb //
> > cf4-- o> dn o> fn o> /
> >
> >
> > _______________________________________________
> > TeX-music mailing list
> > [EMAIL PROTECTED]
> > http://sunsite.dk/mailman/listinfo/tex-music
> >
>
> _______________________________________________
> TeX-music mailing list
> [EMAIL PROTECTED]
> http://sunsite.dk/mailman/listinfo/tex-music

_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to