I use the following awful hack:

\def\gliss#1#2#3#4#5{\zcharnote #1{\off{-#2\noteskip}%
\raise #3\interligne\hbox{\varline{0}{#4\noteskip}{#5}}}}%

where #1 is the starting pitch  #2 is how many \noteskip's *back* the starting position is moved,
 \#3 is how many \interligne's the starting position is raised ,  #4 is the length in \noteskip's,
 and \#5 is the slope

I found I needed the fine tuning of #2 and #3 to get things approximately acceptable, still after considerable trial and error.

There is definitely a great need for a cleaner solution in the style of slurs, especially since at times one needs a slope larger than what can be achieved by \varline, almost vertical for a glissando to a distant note. Also, the line drawn by \varline is just a bit too thin for this purpose.  

George Svetlichny
 
[EMAIL PROTECTED]">
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