> From: [EMAIL PROTECTED]
> Date: Sun, 28 May 2000 11:40:37 +0900

> I have a question about PMX.

> How should I write a source in PMX to put a triplet 2:1
> like this ?
> 
> \uptrio o16\ql l\cl n

PMX doesn't support that up to now. So you may overfool PMX
using in-line TeX, by knowing the code PMX generates. The
PMX code is  something like

    ( e45x3 e ) g     the slur helps for correct midi output :-)
    
The generated code is something like:

  \ibl...\qb..\qb..\tbl\qb..
  
So you may code the following near the beginning of the PMX-file:

\\let\iblsav\ibl\
\\let\qbsav\qb\
\\let\tblsav\tbl\
\\def\pitch#1{\zcharnote{#1}{}}\
\\def\qlasiblqb{\def\ibl##1##2##3{\let\ibl\iblsav\pitch{##2}}\
  \\def\qb##1##2{\let\qb\qbsav\ql{##2}}}\
\\def\skasqb{\def\qb##1##2{\let\qb\qbsav\pitch{##2}\sk}\
\\def\clastblqb{\def\tbl##1{\let\tbl\tblsav}\
  \\def\qb##1##2{\let\qb\qbsav\cl{##2}}}\
  
Now the PMX code for the notes is:

  ( \qlasiblqb\ e45x3 \skasqb\ e \clastblqb\ g
  
It's late and I typed the above from memory. It's untested :-)

Feel free to complain if it doesn't work.  -- Werner

Reply via email to