For your example, the following works:

AI0
w100m
\\let\mxspst\mxsps\def\mxsps#1#2{\let\mxsps\mxspst}\
rbp /
rbp /

If the system you want to fix is not the first one in the score, then you
could try
\\\let\mxspst\mxsps\def\mxsps#1#2{\global\let\mxsps\mxspst}\
at the start of the input block.

Explanation: By staring at musixtex.tex for a while, I found out that the
brace that connects staves of an instrument is emplaced by the macro [EMAIL 
PROTECTED],
but it looks like it does other stuff too. \mxsps is the font specifier, and
the brace is [EMAIL PROTECTED], where [EMAIL PROTECTED] is computed earlier in 
the macro
depending on the required height. Evidently no one anticipated having
\interstaff=0, because when it is, the value computed for [EMAIL PROTECTED] 
corresponds
to a hairpin, which is the character in the font musixspx that comes right
before the smallest brace.

My suggested fixes are practically guaranteed to screw up other stuff,
because the font \mxsps has other stuff in it besides the braces.

A much safer but more verbose way to fix this would be to define your own
alternate version of the whole macro [EMAIL PROTECTED], eliminating the 
bracket-writing
part, and then substitute that version before every system where you need
it. That way you wouldn't have to zap \mxsps, even temporarily.

There's probably some cleaner, neater, but still safe way to do this, but I
don't see it.

--Don Simons


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Andre
> Van Ryckeghem
> Sent: Saturday, July 01, 2006 7:13 AM
> To: Typesetting music with TeX
> Subject: [TeX-music] pmx (musixtex) - Not wanted hairpin
>
>
> I am trying to augmenting the number of staffs in a piece, by using
> \\interstaff{0}\ when less staffs are needed. This works very
> well, except:
>
> When the distance between to staffs is small (or 0), a hairpin
> shows up (i
> suppose this is not to hold the staves together).
> This happens only on an instrument with more than 1 staff.
>
> I have searched for a solution for a couple off days; but now i give up,
> humbly asking for help.
>
> To make clear what i mean, this is an example:
>
> ============
>     2    1    6    8   0   0   0  0
>     1      1        20       0
>
> tt
> ./
> AI0
> w100m
> rbp /
> rbp /
> ===============
>
> Andre
>
> _______________________________________________
> TeX-music mailing list
> [email protected]
> http://icking-music-archive.org/mailman/listinfo/tex-music
>


_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to