Hi,
you already got an answer from Olivier. I have another one: a quick hack,
but maybe useful. Please find attached a pmx sample (with the code and
explanations).
I plan to include it as a "dirty trick" in my new PMX manual;
( http://icking-music-archive.org/software/pmx/pmxccn.pdf )
in a streamlined form, if I can find the time.
ccn.
--
............................................................
Prof.Dr. Cornelius C. Noack Phones:
Inst. f. Theor. Physik FB 1 office : +49 (421) 218-2427
Universit"at Bremen secretary: -2422
Otto-Hahn-Allee Fax : -4869
D - 28334 Bremen home : +49 (421) 34 22 36
Fax: 346 7872
E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED]
WWW-page: www.itp.uni-bremen.de/~noack
............................................................---
\chardef\atcode=\catcode`\@ [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
\off{#1\elemskip}\relax %
\special{ps: [EMAIL PROTECTED] begin ([EMAIL PROTECTED]) ([EMAIL
PROTECTED]) %
(\the\lthick) DLN end
}
}
[EMAIL PROTECTED]
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is a MusiXTeX macro that draws a line from (x0,y0) to (x-x0,y-y0) %
% %
% %
% Notes: * \psline requires musixps.sty, the Kneifl PostScript %
% slurs package. %
% %
% * \psline is a quick hack. %
% %
% * The parameters are (decimal) numbers, in units of \elemskip . %
% Although this is a scalable MusiXTeX dimension, the lines %
% created by \psline DO NOT scale properly (e.g. when %
% \interstaff is changed)! On the other hand, they don't move %
% other elements of a score around. So it is recommended to %
% include such lines only after EVERTHING ELSE IS REALLY %
% FINAL. %
% %
% * The unit can easily be changed to any legal MusiXTeX or TeX %
% dimension (remove the \elemskip's and \internote in the %
% macro, and insert the desired dimensions in the call %
% instead). %
% %
% * The vertical offset is given in terms of the pitch at which %
% the MusiXTeX macro \zcharnote positions its variable and is %
% therefore restricted to full notehead positions (this is %
% temporary hack until something more elegant is implemented). %
%
% %
% %
% Usage: %
% \zcharnote{y0}\psline{x0,x,y}. where %
% %
% x0 : x offset (in units of \elemskip) %
% y0 : y offset (pitch: MusiXTeX letter) %
% x : x length (in units of \elemskip) %
% y : y length (in units of \internote) %
% %
% Sun 2003 Nov 23 /18:05 /ccn %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
---
2 2
4 4 0 6
0 0
1 1 20 .09
tt
./
Ap
w180m
%
c45 b a g |
\zcharnote{h}{\psline{.7}{3.2}{18.1}}\
g24 r2 | g2 g2 Rd | /
c25 c2 |
r2
\zcharnote{f}{\psline{.5}{4.3}{-18.1}}\
g2 | r2 c2 | /
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
_______________________________________________
Tex-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music