I don't understand fully what is asked (because of my bad English), but i have a primitive TeX command with no arguments, but that is te be repeated for each note, because i have redefinitions of al notes (hu, hl, wh) that are to be restored. I suppose the command could be changed not to be repeated in a sequence of notes with the same length.
If this is a start of what must done, i could work further on it, perhaps using '\pcil' from pmx? Propably the lines are broken: ============== 2 2 4 4 4 4 0 -3 1 2 20 0 tt ./ \\let\whsav\wh\let\husav\hu\let\hlsav\hl\ \\def\FE{\ \\def\hl##1{\let\hu\husav\let\hl\hlsav\let\wh\whsav\ \\relax{\advance\transpose2\loffset{0.5}{\ibl0{##1}9}\roffset{0.5}{\tbl0}}\ha{##1}}\ \\def\hu##1{\let\hu\husav\let\hl\hlsav\let\wh\whsav\ \\relax{\advance\transpose-3\loffset{0.5}{\ibu0{##1}9}\roffset{0.5}{\tbu0}}\ha{##1}}\ \\def\wh##1{\let\wh\whsav\let\hu\husav\let\hl\hlsav\ \\relax{\advance\transpose-2\loffset{1}{\ibu0{##1}9}\roffset{0}{\tbu0}}\wh{##1}}}\ \\def\FEE{\ \\def\hl##1{\let\hu\husav\let\hl\hlsav\let\wh\whsav\ \\relax{\advance\transpose2\loffset{0.5}{\ibbl0{##1}9}\roffset{0.5}{\tbl0}}\ha{##1}}\ \\def\hu##1{\let\hu\husav\let\hl\hlsav\ \\relax{\advance\transpose-3\loffset{0.5}{\ibbu0{##1}9}\roffset{0.5}{\tbu0}}\ha{##1}}\ \\def\wh##1{\let\wh\whsav\let\hu\husav\let\hl\hlsav\ \\relax{\advance\transpose-2\loffset{1}{\ibbu0{##1}9}\roffset{0}{\tbu0}}\wh{##1}}}\ % g24 \FE\ g \FEE\ a a \FEE\ b \FE\ c c \FE\ a+ \FEE\ a \FE\ a+ / g24 \FE\ f \FEE\ e a \FEE\ d \FE\ c c \FE\ a+ \FEE\ a \FE\ a+ / % g04 \FE\ g \FEE\ a a \FEE\ a2 \FE\ a \FEE\ b0 \FE\ c c \FE\ a+ \FEE\ a \FE\ a+ / g04 \FE\ f \FEE\ e a \FEE\ a2 \FE\ a \FEE\ d0 \FE\ c c \FE\ a+ \FEE\ a \FE\ a+ / ================ Andre ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <tex-music@icking-music-archive.org> Sent: Monday, July 21, 2008 5:20 AM Subject: [TeX-Music] A challenge for PMX/TeXperts > Adam Fenn has posed a challenge that I cannot meet, so I'll put it out > there for anyone on the list (Andre, Olivier, Hiroaki, Stanislaus,...?). > He would like some one-time inline tex which would redefine the TeX > sequence produced by some SINGLE existing, seldom used PMX command so as > to properly emplace the newly popular "tromolo" symbol (diagonal slash > across either the stem, or centered above or below a stemless note), and > do so without having to input any parameters. The command cannot be "o_" > or "o." because he needs them. I know how I could redefine \lpn and \rpn > to cause "o(" or "o)" to RESPECTIVELY produce the mark for an upper or > lower stem. But that doesn't satisfy the challenge, both because it > requires the user to distinguish between upstemmed and downstemmed notes, > and also it doesn't cover unstemmed notes. Redefining one or the other of > \lpn or \rpn would be OK, but the new definition must somehow figure out > what vertical and horizontal offsets to use to account > for stem direction, length, and beaming, or lack of stem, in the > corresponding note. To do so it must of course know more about the > corresponding note than simply its pitch, which is all PMX will send it > through \lpn or \rpn. > > If I hadn't made some unfortunate choices in the design of PMX, this task > could be accomplished fairly straightforwardly by introducing a new > ornament directly into the PMX code. But as it stands, modifying PMX to do > this it a much bigger task than I care to undertake at this time. > > --Don Simons > > _______________________________________________ > TeX-music mailing list > [EMAIL PROTECTED] > http://mailman.daimi.au.dk/mailman/listinfo/tex-music > _______________________________________________ TeX-music mailing list [EMAIL PROTECTED] http://mailman.daimi.au.dk/mailman/listinfo/tex-music