Werner Icking <[EMAIL PROTECTED]> wrote
>> [EMAIL PROTECTED] (Julian Gilbey)
>>asked >
>> >Is there a nice way (or any way) to get double-dotted notes in M-Tx
>>>or > >PMX?
>>
>> [...] Also, I usually use numerical pitch levels, which
>> is fine if you don't ever want to transpose. If you do anticipate
>> transposing, you would need to use alphabetical pitches, but you
>>would > have to do some tricky stuff to be sure not to mess up the
>>octave. I
>> won't try right now to explain that because I'd probably get it wrong [...]
>
>Ok, I try because I always use note-names a ... g or A ... G:
>
>1 1 3 4 3 4 0 0
>1 1 20 0
>
>t
>./
>% \ppt5\ c45 rbd8 d1 e4 | \ppt6\ d45 rbd8 e1 f4 /
>\relax{\ppt{!'c}}\ c45d r1b d1 e4 | \relax{\ppt{!'d}}\ d4d r1b e1 f4 /
>
>"!" makes the pitch independent of the PMX-generated surrounding;
>"\relax{...}" keeps the octaviation by "'" local.
>
>One could use e.g. "X.-5 r1b" instead of "r1b" to compensate partly the
>too big spacing by "r1b" (Korinthenkackerei, peanuts, ... :-)
Werner makes a good point here about the spacing. To elaborate a
little: My original solution would have given way too much space to the
double dotted quarter. In PMX the basic number of \elemskips allotted
to a note or rest is (32*t)^.5, where t is the duration (in whole
notes). So a double-dotted quarter should receive
(.25*1.75*32)^.5 = 3.74\elemskip .
The way I did it gave
(.25*32)^.5 + (.125*1.5*32)^.5 = 5.28\elemskip.
The way Werner did it (without the "X") gives
(.25*1.5*32)^.5 + (.0625*32)^.5 = 4.88\elemskip.
Now to correct this overshoot you would need to back up by
1.54\elemskip in my case, and 1.14\elemskip in Werner's. It is not
easy to get this exactly right using "X" , since that measures the
offset in units of notehead widths which are fixed, while the actual
length of \elemskip depends on how crowded the system is. While you
could try inline \off{-1.54\elemskip}\ , this would not be recorded by
PMX and could cause inaccuracies elsewhere in the line if PMX needed
to insert any hardspaces.
The best solution obviously is for the author of PMX to build
double-dotted notes into the the program :-)
--Don Simons