> Date: Wed, 29 Jul 1998 14:04:48 -0700
> From: [EMAIL PROTECTED] (Don Simons)

> Best suggestion for now is to use in-line TeX to reset \interstaff 
> (which affectes the spaces between all staves in a system) or 
> \interinstrument, which is normally 0, and inserts extra space between 
> different instruments but not between the staves of the same 
> instrument.

As far as I know PMX does not use \interinstrument. So sometimes I 
take the responsibility for the vertical layout from PMX. At the very
beginning I use e.g.

\\let\interstaffsav\interstaff\def\interstaff#1{}\interstaffsav{10}\

This saves the original meaning of \interstaff, redefines it to
nothing and sets interstaff to the value I need. Lateron PMX may
use \interstaff but with no effect. If I lateron need to redefine it
I can use e.g.

\\\interstaffsav{12}\
L6

In a similar way I set interinstrument e.g. at the beginning

\\setinterinstrument2{-2\Interligne}\

or lateron:

... \gdef\atnextline{\setinterinstrument2{1\Interligne}\ ...
...
... \gdef\atnextline{\setinterinstrument2{-2\Interligne}\ ...

Sometimes you have to clobber \vskip, too.


> >2. horisontal adjustment af accidentals.

> Another weakness.  There is no PMX command to offset an accidental, so 
> you have to use in-line TeX.  You can use e.g. \loff{\bigsh3}\ if the 
> offset is one notehead width or \loffset{1.5}{\bigsh3}\ if it is say 
> 1.5. [...]

If one prefers note names instead of pitch numbers, one can code instead 
of e.g. "... d44s zfs zas ..."

... X1.6 \loffset{1.6}{{\sh{!'a}}}\loffset{0.8}{{\sh{!f}}}\ d44s zf za ...
or
... X1.6 \loffset{1.6}{{\sh{!'a}}}{\lsh{!f}}\ d44s zf za ...

! set's the local transposition to 0; the grouping "{{...}}" keeps the
transposition changes local. 


To have a nice complete example:

1 1 3 4 3 4 0 0
0 2 20 0

t
./
Abr
%-- K+2+4
%\\transpose 2\generalsignature 4
d44s zfs zas
X1.6 \loffset{1.6}{{\sh{!'a}}}\loffset{0.8}{{\sh{!f}}}\ d44s zf za
X1.6 \loffset{1.6}{{\sh{!'a}}}{\lsh{!f}}\ d44s zf za /

f44s zgrs zas
X1.8 \loffset{1.8}{{\sh{!'a}}}\loffset{0.9}{{\sh{!g}}}\ f44s zgr za
X1.8 \loffset{1.6}{{\sh{!'a}}}{\lsh{!g}}\ f44s zgr za /

Both cases look imho very nice without the modifications so that
on could have the idea to standardize that usage :-)

The third line of the 2nd case shows that MusiXTeX's offset of \smallvalue
(= 0.8) for \lsh etc. is too small for some cases.

If PMX would handle transposition by "K+?+?" not internally but using
MusiXTeX's \transpose register then the above coding using note names
is completely transposable. You can see it by uncommenting "%\\transpose ..."

-- Werner Icking

Reply via email to