> Date: Wed, 10 Mar 1999 08:44:57 +0100 (CET)
> From: Stefan Svensson <[EMAIL PROTECTED]>

> [...]  Incorporating this into PMX is on my
> whishlist. Writing, for example, "&Bb9#11" is much easier than my macro
> "\uc{B\flat\up{9\shp11}\".
> 
> Second, when I write chords, I sometimes need to specify the chord rythms.
> I want to do this with either small notes above the note system (without
> help lines) or the special percussion notes. I have not been able to solve
> this with PMX yet. Anyone has any ideas?

The above example shows that you are used to absolute pitches. So the following
macro may inspire you to solve your problem with in-line TeX:

% non-ledger line tiny \zcu 
\def\nltzcu#1{\raise #1\internote\hbox{{\tinynotesize\zcu 0}}}

It behaves like \zcu with absolute pitches. The double parentheses keep
\tinynotesize local.


Incorporating such things into PMX I would like a more general solution like
two PMX-commands which behave similar to the o-command in such a way that
the "ornament" is shifted such a way that it is either above or below the
corresponding note. May be the commands could be called D (;-) or U and
have A,...,Z as first parameter. Then the user is responsible to define
TeX-Macros \pmxA,...,\pmxZ which contain the wanted TeX- or MusiXTeX-code.

E.g.

\\def\pmxF{\zcharnote{-1}{\f}\

... c24 DF ...

would result in a "forte"-sign below the half-note C.

It could be useful, to allow one or more parameters in "{}":

\\def\pmxC#1{\zcharnote0{\cresc{#1\elemskip}}\

... c24 DC{4} ...

would generate a cresendo with length of 4 \elemskip below the half-note C.

Further PMX-parameters should allow to move the user's TeX up or down and
right or left in the quite normal way.

Following small example shows how PMX's oT - which behaves similar - can be
misused that way:

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

t
./

\\let\Trillesav\Trille\
\\def\TT{\global\let\Trille\Trillesav}\
\\def\pmxC#1{\zcharnote1{\crescendo{#1\elemskip}}}\
\\def\pmxD#1{\zcharnote1{\decrescendo{#1\elemskip}}}\
\\def\TC{\gdef\Trille##1##2{\TT\zcharnote{##1}{\pmxC{##2}}}}\
\\def\TD{\gdef\Trille##1##2{\TT\zcharnote{##1}{\pmxD{##2}}}}\

\TC\ c24 oT3.7 \TD\ c oT3.7 /
L2
\TC\ c25 oT3.7   \TD\ c oT3.7 /
\TC\ c26 oT3.7+2 \TD\ e oT3.7 /
\TC\ g25 oT3.7   \TD\ c- oT3.7+2 /
L3
c24 oT2 c2 /

Hope this hilft -- Werner

Reply via email to