Adam--
There's no need to include the main note in the macro. I have written a macro
that only makes the diagonal mark, but I'm on the road and it's on another
computer. I'll post it as soon as I get home, but meanwhile I suggest you try
modifying the one below to eliminate the main note and only draw the slash.
You'll probably still need two different ones since up-stems and down-stems
require different horizontal offsets from the main note's horizontal reference
point. But you certainly don't need a separate macro for every note duration.
And by the way, doesn't anyone find it interesting that Cornelius referred to
this as a notation for "repeated notes," while Adam calls it a "tremolo." It's
not clear that those are the same thing.
--Don Simons
---- Adam Fenn <[EMAIL PROTECTED]> wrote:
>
> I need a macro to produce the symbol for tremolo in my scores. On page 103 of
> the new pmxccn.pdf there is a macro for repeated quavers (see below) and this
> is just what I want. However it only works for minims. I can of course write
> new macros for each type of note but this is becoming quite tedious as I have
> to write a new macro for every eventuality e.g dotted notes with a tie etc.
> Is there any way to improve this macro so that it can automatically
> accommodate the following note or has anyone written a macro for tremolo?
>
> TIA,
> Adam Fenn.
>
>
> \let\husav\hu\
> \let\hlsav\hl\
> \def\FE{\def\hl##1{\let\hu\husav\let\hl\hlsav%
> \relax{\advance\transpose2\loffset{0.5}%
> {\ibl0{##1}9}\roffset{0.5}{\tbl0}}\ha{##1}}%
> \def\hu##1{\let\hu\husav\let\hl\hlsav%
> \relax{\advance\transpose-3\loffset{0.5}%
> {\ibu0{##1}9}\roffset{0.5}{\tbu0}}\ha{##1}}%
> }
>
> _________________________________________________________________
>
> http://clk.atdmt.com/UKM/go/msnnkmgl0010000009ukm/direct/01/
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://mailman.daimi.au.dk/mailman/listinfo/tex-music