Hi, Danai--

Thanks so much for looking into this. I've confirmed that I can process your 
file and get the desired result. It's interesting to learn about another way to 
draw filled boxes, using \vrule. And assuming that it would allow you to go 
directly to a pdf from a dvi without using postscript, those people who choose 
to bypass postscript will have a way to proceed. But it seems that to set it up 
would still require some trial and error with the dimensions, just like my 
pstricks version. What I would really like to see is a more basic approach that 
would make the typeset staff shorter by a specified amount, and not require a 
space-filling blank bar at the end or any other special extra input 
information. In other words, a definition of a command 
\shortenstaff{[distance]} . Doing that would require a deeper understanding of 
the workings of the MusiXTeX commands for staff starts and stops than I have at 
my fingertips, so for me it would mean a lot of work digging through 
musixtex.tex. 

--Don

> -----Original Message-----
> From: TeX-Music [mailto:tex-music-
> [email protected]] On Behalf Of Danai SAE-HAN
> (???)
> Sent: Monday, April 29, 2019 2:09 PM
> To: Werner Icking Music Archive <[email protected]>
> Subject: Re: [Tex-music] Line-length challenge for the TeXperts
> 
> Hi Don
> 
> You might want to try a simple TeX \vrule, combined with a colour from the
> `colordvi' package.
> I created the "\gapp" definition.  You will notice that I have used some
> negative "\hskip" commands.
> Not sure if this was what you were looking for?
> 
> =====================
> 1 1 4 4 4 4 0 0
> 1 2 20 0
> 
> t
> .\
> \\input pstricks\
> \\input colordvi\
> \\\def\gap{\
> \\\psframe[linestyle=none,fillstyle=solid,fillcolor=white](-17pt,-
> 1pt)(100pt,21pt)}\
> \\\def\gapp{\
> \\\hskip -16pt\
> \\\White{\vrule height20.6pt width104.2pt depth0.5pt} \hskip -90pt}\
> c44 d e f g a b c /
> L2
> c44 d e f g a b c /
> RD \gapp\ rb0 D"Hello"+8-2 Rz /
> =====================
> 
> You get the attached result.
> 
> Regards
> 
> --
> Danai
> 
> On Sun, 28 Apr 2019 at 23:51, Don Simons <[email protected]>
> wrote:
> >
> > Can anyone come up with a cleaner way to shorten a single line…not
> necessarily the last one on the page…in PMX (without trial and error)? If so I
> may incorporate it into PMX.
> >
> >
> >
> > --Don
> >
> >
> >
> > From: Don Simons [mailto:[email protected]]
> > Sent: Thursday, April 25, 2019 10:03 PM
> > To: 'Dieter' <[email protected]>
> > Subject: RE: PMX with Comments at the end of a line
> >
> >
> >
> > Dieter--
> >
> >
> >
> > OK, here's an example of one way to create a blank space at the end of a
> line and then put some text in it. Since you need to tailor the width of the
> white rectangle by trial and error, this would be tedious if you had to do it
> more than once or twice, but it does work, without requiring any changes to
> the basic page layout or staff widths. Let me know if you have any questions.
> >
> >
> >
> > --Don
> >
> >
> >
> > ==================================
> >
> > 1 1 4 4 4 4 0 0
> >
> > 1 2 20 0
> >
> >
> >
> > t
> >
> > .\
> >
> > \\input pstricks\
> >
> > \\\def\gap{\
> >
> > \\\psframe[linestyle=none,fillstyle=solid,fillcolor=white](-17pt,-1pt)
> > (100pt,21pt)}\
> >
> > c44 d e f g a b c /
> >
> > L2
> >
> > c44 d e f g a b c /
> >
> > RD \gap\ rb0 D"Hello"+8-2 Rz /
> >
> > ==================================


-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music

Reply via email to