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:dsim...@roadrunner.com] 
Sent: Thursday, April 25, 2019 10:03 PM
To: 'Dieter' <d.gloet...@web.de>
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 <file:///\\input>  pstricks\

\\\def\gap{\ <file:///\\\def\gap%7b\> 

\\\psframe[linestyle=none,fillstyle=solid,fillcolor=white](-17pt,-1pt)(100pt,21pt)}\
 
<file:///\\\psframe[linestyle=none,fillstyle=solid,fillcolor=white](-17pt,-1pt)(100pt,21pt)%7d\>
 

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 /

==================================

 



 

> -----Original Message-----

> From: Don Simons [mailto:dsim...@roadrunner.com]

> Sent: Tuesday, April 23, 2019 8:43 AM

> To: 'Dieter' <d.gloet...@web.de <mailto:d.gloet...@web.de> >

> Subject: RE: PMX with Comments at the end of a line

> 

> Hi, Dieter--

> 

> I wondered why you were emailing me in German. I'm afraid I don't

> understand any of it.

> 

> You can do anything with inline TeX, but it's usually difficult.

> 

> The first question is whether you want the comments in the margin, or

> whether you want the music staff on that line to stop short. If you want it

> shortened, and if you are using postscript (which I always do) then there is a

> way to draw a solid white box anywhere using a package called pstricks,

> which may be included in MiKTeX. I know I've done this before but I haven't

> yet found the examples. If you want to shorten the staff but are not using

> postscript, then I'm afraid you'd need to figure out a way to end that staff

> early using inline MusiXTeX commands, and that would be tricky.

> 

> If you want to pursue this on your own, maybe the above comments will

> help. If you want me to work on it, then please send more details about

> exactly what you want to do.

> 

> --Don

> 

> > -----Original Message-----

> > From: Dieter [ <mailto:d.gloet...@web.de> mailto:d.gloet...@web.de]

> > Sent: Tuesday, April 23, 2019 5:44 AM

> > To: Don Simons < <mailto:dsim...@roadrunner.com> dsim...@roadrunner.com>

> > Subject: PMX with Comments at the end of a line

> >

> > Hi Don,

> >

> > my last mail was sent off by mistake. Sorry!

> >

> > I was discussing with a friend, whether PMX would be able to support

> > comments at the end of an input line.

> >

> > Did you ever consider such an idea?

> >

> > Regards,

> >

> > Dieter

> >

> > --

> > ____________________________________

> > Dr. Dieter Glötzel

> > Im Rosengarten 27

> > 64367 Mühltal

> > Tel.: 06151 / 360 82 72

 

-------------------------------
TeX-music@tug.org 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