Atte writes:

>Is it possible in abcm2ps, which I'm running, to notate ghostnotes, either
>with the note in "(" and ")", with a cross for note head or as a smaller 
note?
>

        I doubt it's possible in abcm2ps at the minute. It comes down to
changing the note-head font on demand, which might be a useful feature to
think about.

        It turns out that all three of your suggestions can be done in
abc2mtex, tho.  This may not do you any good, since abc2mtex doesn't support
voices or multi-staves, which you probably need for jazz transcriptions.  
But it _is_ possible to do it---to a certain extent, at least.

        I put some examples below to show how it can be done; the necessary
TeX macros are right above the example that uses them.  Warning: I haven't
tested these macros on anything but these examples, so I don't know how
generally they work.

        The first example uses small noteheads.  

        To make a note with a small head, when you type out the abc, type
"T" in front of the note, and an "N" after, (T for tiny and N for normal
noteheads.)  This basically changes the font to small note heads, then
changes it back. There is also a \smallnotesize command, which you can use
in place of \tinynotesize for slightly larger note heads.  There is a
limitation to this, tho---it doesn't work in chords, which may be where you
need it, for, as far as I can tell, all of the notes in a chord have the
same notehead size.

        This example should show small note-heads for the g in the first
measure and the two E's in the second.

        For notes in chords, the prens notation is a better bet.  (Matter of
fact, it seems to work better all around.) In the second example, just type
a P (for prens) in front of the ghostnote.  The g in the first measure, the
E in the second, and the e in the third should be in prens.  Apologies for
the outdated chord notation; I'm still using version 1.5; change "+..+" to
"[..]" if you wish.

        (This will look bad if there's an accidental in front of the note,
tho. There should be a separate macro to use on notes with accidentals--it's
just a matter of moving the left-hand pren a little to miss the accidental
sign, but I was too lazy to write it.)

        The third example writes the two D's in the first measure and the G
in the second with x-heads.  It essentially does the same thing as example
1:  changes the note-head font, and changes it back, but MusixTeX doesn't
treat it as a font change so it's a bit trickier to do than example 1.  
(And, frankly, I'm cheating: what I did *only* works with quarter notes.  
I'm sure it's possible to do it in general, but it may be pretty ugly, since
it would involve redefining a bunch of MusixTeX commands and then restoring
their definitions.  Might be worthwhile to actually work it out, since it
could be used for writing percussion lines.) But anyway, in this example,
you get the x-head by typing X immediately before the ghostnote, Y after.  
(For a different x-head, uncomment the two lines with percents in front.)

Cheers,
John Walsh

-----------------------EXAMPLES-------------------------
        Run abc2mtex -x on the following, and run it thru
TeX to see how these look.  Those definitions above the second
example may be wrapped by the emailer; they should each be on one line.

\normalmusicsize
\def\userTl#1{\tinynotesize}
\def\userTu#1{\tinynotesize}
\def\userNl#1{\normalnotesize}
\def\userNu#1{\normalnotesize}
\def\userN{\normalnotesize}

X:1
T:Small Notes
M:C
K:G
GDDE GTgNed|eTENed BAGTEN||


\font\pfont=cmr10
\def\userPu#1{\zcharnote{#1}{\raise-.3em\hbox{\pfont{\kern-5pt(\kern 8pt)}}}} 
\def\userPl#1{\zcharnote{#1}{\raise-.3em\hbox{\pfont{\kern-5pt(\kern 8pt)}}}}
%%
%%THe two \def's above should each be on one line
%%

X:2
T:Notes in Prens
M:C
K:G
GDDE GPged|e+PEe+ed PBAG+PeE+N||

\input musixper.tex
\let\quaru=\qu
\let\quarl=\ql
%\let\doqu=\xqu
%\let\doql=\xql
\def\userXu#1{\let\qu=\doqu \let\ql=\doql}
\def\userXl#1{\let\ql=\doql \let\ql=doql}
\def\userYu#1{\let\qu=\quaru\let\ql=\quarl}
\def\userYl#1{\let\qu=\quaru\let\ql=\quarl}
\def\userY{\let\qu=\quaru\let\ql=\quarl}


X:3
T:X-Heads
M:C
L:1/4
K:G
G XD D YE |XGY g e d|e E e d||
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to