Hi,

If you are using the PostScript slurs package (especially the 
psslurs.pro header file), you can try these macros:

% x-length, y2-y1 difference, both in any dimensional unit

\def\psline#1#2{\y@i#1\relax \y@ii#2\relax
   \special{ps: slur@Dict begin (\the\y@ii) (\the\y@i) (\the\l@th) DLN end}}

% x-length [any unit], slope [same as for beams]

\def\pslinesl#1#2{\y@i#1\relax
   \special{ps: slur@Dict begin #2\space (\the\y@i) (\the\l@th) DSLN end}}

% line ID, should be called at the starting, resp. ending point,
% i.e. using some \zcharnote n{\hskip1mm\ipsline0}
\def\ipsline#1{{\special{ps: slur@Dict begin CP /L#1y1 ED /L#1x1 ED end}}}
\def\tpsline#1{{\special{ps: slur@Dict begin L#1x1 L#1y1 (\the\ps@lth) 
DFLN end}}\ps@lth\l@th}

Hope this helps.

Stanislav Kneifl.

[EMAIL PROTECTED] wrote:

> On Mon, 04 Feb 2002 15:40:44 -0600, Lance Hoffmeyer
> <[EMAIL PROTECTED]> wrote:
> 
> 
>>How do a create a sliding line between two notes to indicate
>>a glissindo?  i.e.
>>
> 
> I use the following:
> 
> \def\gliss#1#2#3{\rlap{\varline{#1}{#2\noteskip}{#3}}}%
> 
> ...where #1 = vertical starting height, #2 = length in \noteskips, and
> #3 = slope.
> 
> Takes a fair bit of trial and error to get the length and the slope
> right, though. I'm still secretly hoping that someone will come up
> with a glissando line that behaves like a slur from the perspective of
> specifying the starting and ending points.
> 
> Eva
> 
> 
> 
> --
> "Bach ist der Vater, wir sind die Buben. Wer von uns 
> was Rechtes kann, hat's von ihm gelernt." 
>             -- W. A. Mozart
> _______________________________________________
> TeX-music mailing list
> [EMAIL PROTECTED]
> http://sunsite.dk/mailman/listinfo/tex-music
> 
> 


_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to