2012/11/16 Francisco Vila <[email protected]>: > 2012/11/16 Stretto <[email protected]>: >> I would like to draw some curved arrows between notes, sort of like slurs >> that have arrow tips at the end. It would be even better if I could actually >> integrate tikz code and each musical element be treated as a node... this >> way I could leverage the power of tikz to draw non-musical symbols and >> graphics. Just drawing curved and straight arrows will do though. >> >> Any ideas if this is possible? > > From the little I know about TikZ I can say it could be possible if > the typesetting engine of lilypond were LaTeX, but it is not. Music is > drawn using Postscript primitives.
That said, we already have point-and-click links in PDF for most notation elements. They are text coordinates (line+column) taken from input code. Something similar is what you propose and it is very interesting; we would need something like this: First, marking desired elements in the input. We have balloons http://lilypond.org/doc/v2.17/Documentation/notation/outside-the-staff#balloon-help that could inspire some new ideas on how to implement it. Then, make lilypond to export a file which contains the coordinates of the points you marked before. Maybe this file could be converted to TikZ nodes and it would be possible to create a transparent layer on top of the score, that contains your TikZ graph. Is it possible to make a TikZ graph using absolute paper coordinates? -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
