Thanks for the provocative post.  The information in the link is very
interesting.  And I did not realize MusiXTeX had a French violin clef.

As for the TeX/PMX problems, what you are trying to do is very difficult
(but not as hard as upside-down clefs :-).  I don't have the full solution
but some ideas you might work with.  The difficulties are 
(1) You must never insert unscaled space inside a notes group, unless you
take it away right away.  That's what \roffset does.
(2) I don't completely understand how \everystaff deals with either scalable
or unscalable space.  It seems like you ought to be able to say
\everystaff{\hardspace{20pt}} but you can't.
(3) Horizontal positions of the added clef and accidentals must be entered
as unscalable space, otherwise the spacing would be different from one
staff to another.
(4) Even if we could figure out how to insert the right spacings using
in-line TeX, PMX would not be aware of the added spaces, and ALL of its
calculations for accidental spacing will be thrown off.  

Here's the best I have so far:

======================
1 1 4 4 0 0 0 -2
1 2 20 0.00

t
c:\pctex\texinput\
%\\def\everystaff{\znotes\qsk\qsk\zchar6\bassclef\
%\addspace{3\elemskip}\bigfl i\hqsk\bigfl l\en}\
\\def\everystaff{\znotes\roffset3{\zchar6\bassclef}\
\\roffset6{\bigfl3}\roffset7{\bigfl6}\en}\
\\let\alalt\alaligne\def\alaligne{\alalt\hardspace{18pt}}\
\\setclef19\
Abd B
Tt
Canon a 4
r4 Rl g84 a b c d e | fs4- r r d+ s | d8 s cs a bn cn2 s |
  c8 s bn g a bf2 s /
b8 s s a gs a s af s gn fs g s | fs s en d ef s d s f a c s |
  b s d fs g s a- e+ d c | b1 a g fs g g+ fs e d c b a g4 /
===========================

This still doesn't solve everything.  It does not insert the space on the
first line and probably would not on the first line of any later pages, nor
if you forced a line break in PMX.  And (point 4 above) if you look very
carefully near the end of the second line you can see that the accidental
spaces are not exactly right...that's because PMX doesn't know about the
extra added horizontal space at the start of the line.

Maybe someone else can "fill in the blanks."

--Don Simons


-----Original Message-----
From: nitadori
To: [EMAIL PROTECTED]
Sent: 2/11/00 1:56 AM
Subject: Canons from Musical Offering

Hello.
 I would like to write J.S.Bach's Canons from Musical Offering BWV1079
by PMX2.1.
They have two clefs in a staff. 
Some of them hve clefs and accidentals which were put upside down.
(Please see following link)
http://jan.ucc.nau.edu/~tas3/musoffcanons.html
<http://jan.ucc.nau.edu/~tas3/musoffcanons.html> 
 
I tried to write Canon a4 (g-minor) which has french violin clefs and
bass clefs in each staff 
like following source. But it still has troubles in spacing.
 
 
Keigo Nitadori, Japan
 
<mailto: [EMAIL PROTECTED]>  [EMAIL PROTECTED]
 
 
 
1 1 4 4 0 0 0 -2
1 2 20 0.00
 
t
./
\\def\everystaff <file://\\def\everystaff>
{\znotes\qsk\qsk\zchar6\bassclef\addspace{3\elemskip}\bigfl i\hqsk\bigfl
l\en}\
\\setclef19\ <file://\\setclef19\> 
Abd B
Tt
Canon a 4
r4 Rl g84 a b c d e | fs4- r r d+ s | d8 s cs a bn cn2 s | c8 s bn g a
bf2 s /
b8 s s a gs a s af s gn fs g s | fs s en d ef s d s f a c s | b s d fs g
s a- e+ d c |
 b1 a g fs g g+ fs e d c b a g4 /

Reply via email to