I'm trying to figure out how to draw an ARBITRARY diagonal line. There's a macro \varline in musixtex.tex that is used for xtuplet brackets, but it doesn't work as I would expect from the description:
% varline #1=height[dimen] #2=length[dimen] #3=slope (1\eqiv 1.125degree) % (comments and ideas from Ian Collier) (from -20 upto 20 ) % This macro is used by some of the others which follow, % using it directly it must be set in zero box Minor point: the 1st argument is a number, not a dimension. Here's a test file, in which the 8 slanted lines should get progressively longer. THEY DON'T. Can anyone figure out how to dumb this macro down so it simply draws the advertised line, starting from the same point every time (like it seems to be doing for the last 4 lines)? It would also be nice to be able to set the thickness of the diagonal line, and to remove the restriction on slope. Any help would be greatly appreciated. ============================= 1 1 2 4 2 4 0 0 0 8 20 0 t .\ \zcharnote7{\hbox{\varline0{2pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{4pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{6pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{8pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{10pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{12pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{14pt}5}}\ e44 g / \zcharnote7{\hbox{\varline0{16pt}5}}\ e44 g / =============================== --Don Simons ------------------------------- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music