Re: [tablatures] Positioning of text elements

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]


Carl Sorensen schrieb:
[...]

3: Is it possible to position (non-note) elements freely
   with Lilypond? It would be nice to place or anchor
   custom text (or GROBs) anywhere.

No, you can't.  And it wouldn't really be nice to do so, because that kind
of work needs to always be adjusted when you move something somewhere else.
I object here. Does anyone knows the pstricks package in (La)TeX?
Here, you can define almost anything as a node which can be referenced
to later on. If you have two or more nodes on the same page, you can draw
arrows, brackets and almost anything available with postscript between them,
distance computations etc. are possible. And whenever you change something
in the content of the page, the coordinates of the nodes are recalculated, so
you don't have to bother. And the presence of nodes doesn't influence the
material on the page, of course.
I did implement bends in MusiXTeX with pstricks, and it worked fine.

Such a feature would be great for lilypond, you could draw some arrows
pointing at special note heads, or even brackets over certain measures etc.
without misusing existing grob routines all the time. I don't know how to
implement this, but in general, I would not drop this idea too quickly.

If you really want to do that, you can use the svg backend and use inkscape
to do the positioning.
Of course, but if there is a generic solution, it would surely improve
usability - and if you have a look at the lsr, there are lots of examples
where grob output routines are used for some trickery they weren't
created for.

Just my 2ct...

Marc




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/