> From: "M. Lazanowski" <[EMAIL PROTECTED]>
> Date: Mon, 20 Nov 2000 17:45:42 +0100
> is it possible to code something like
With MusiXTeX everything is possible :-)
With PMX and MusiXTeX's help everything is possible :-)
> 3
> _____
> |_|_|_|
> | |_| |
> | | | |
> | | | |
> x x x x
>
> , which should be a triplet with different notelengths, in GMX (hope it is
> readable, at least with a fixed font)?
GMX? GMD's PMX :-)
If I were you I would have looked up the archive of this mailing list.
For me it's easier to re-do the solution.
"The re-invention of the wheel procceed with more ease and speed if
a model of the wheel already exists" (I don't know the author).
Here is a model of the wheel:
<snip>
1 1 1 4 0 0 0 0 1 1 20 0
t
./
w70m Arb
\\let\qbsav\qb\
\\def\nbbuqbtbbuqbforqb#1{\
\\def\qb##1##2{\let\qb\qbsav\nbbu{##1}{\zqb{##1}{#1}}\off{.7\noteskip}\
\\tbbu{##1}\zqb{##1}{##2}\off{.7\noteskip}}}\
c44x3nf e f /
c44x3nf \nbbuqbtbbuqbforqb{!d}\ e f /
</snip>
\nnbuqb....#1 intercepts the next usage of \qb. It redefines MusiXTeX's \qb
so that it
\let\qb\qbsav restores the original
\nbbu{##1} increases the beam multiplicity
{\zqb{##1}{#1}} adds a note with given pitch to the beam without spacing;
it's put in a group to keep all pitch changes local
\off{.7\noteskip} adds an appropriate amount of space
\tbbu{##1} decreases the beam multiplicity
\zqb{##1}{##2} adds the originally requested note to the beam
\off{.7\noteskip} adds an appropriate amount of space
Now feel free to invent as many wheels as neccessary. With some experience
this can be done faster than making ASCII-images of beamed notes.
Good luck -- Werner