Errr... because I don't know enough about Lilypond to distinguish between an override and a tweak. I just happened to have found a Lilypond score (admittedly an old one) which uses overrides to place special symbols next to notes, and I'm doing that because I can see that it works. But if tweaking is the better option, I'll do that instead!
Thank you for the suggestion. On Wed, Sep 2, 2020 at 8:08 PM David Kastrup <d...@gnu.org> wrote: > Alasdair McAndrew <amc...@gmail.com> writes: > > > In my attempt to typeset some early 18th century French music for viola > da > > gamba, I'm trying to keep to the original notation as closely as > possible. > > Thus I'm using a breath mark to indicate a trill, and a sans-serif x for > a > > mordent. So for example, I have > > > > mx = \markup {\teeny \sans x} > > > > But to put this symbol next to its note (where it belongs), I have to > write > > something like > > > > \once \override TextScript #'extra-offset = #'(1.5 . -1.5) f4.^\mx > > > > to ensure it goes in the right place. Is there any way of simplifying > > this? Ideally, it'd be nice to be able to write something like > > > > f4.^{\mx 1.5 -1.5} > > > > and leave all the once override stuff out of the score itself. Or is > there > > another way of placing a symbol where I want it? > > Why wouldn't you use a tweak rather than an override? > > -- > David Kastrup > -- https://numbersandshapes.net