Ronald Gelten wrote:
> In order to write TAB music, I've created a few macros, which I use in
> MusiXTeX. I use six staff lines and put numbers on them. It works fine,
> but I would like it if the staff lines would stop just before a number
> and continue just after each number. In other words, each number should
> have a white background. At the moment, the staff lines strike right
> through them. Does anyone know how to do this?

The simpliest solution is to use PostScript and draw a white rectangle
under the number. You can do this using pstricks for example, or use
inline PostScript code or set color to white and draw rule of the same
size as the \hbox containing the number. In the latter case, of course,
you will see nasty black rectangles using non-PostScript DVI drivers.

Clean TeX solution is much harder - you would have to draw staff lines
yourself, keeping track of sizes of the line segments... pufff.

Happy TeXing!

Stanislav Kneifl.

Reply via email to