On Sat, Feb 5, 2022 at 5:00 AM Aaron Hill <lilyp...@hillvisions.com> wrote: > > On 2022-02-05 2:49 am, Kevin Barry wrote: > > Hi Achar, > > > >> Let me specify : in the following example V7 / IV is not associated > >> with the Eb7 chord > >> but with the note G. Is it possible to pair it with the Eb7 chord ? > >> Thanks > > > > We don't have a code example, so it's hard to answer your question. At > > a guess, it looks like you're attaching markup to the notes and you > > need to attach it to the space between A flat and G. A quick solution > > could be to add a spacer rest, e.g.: > > > > f_"II" aes2*1/2 s4_"V" g > > > > If this is something that happens frequently in your score, I would > > recommend having a separate voice - with only spacer rests - for your > > Roman numerals. > > Another option is to use a dedicated context for analysis. The Lyrics > context is a good candidate, as it supports arbitrary markup that can be > given rhythm independant of the associated Staff. Consider LSR 710 [1] > as a starting point. > > [1]: https://lsr.di.unimi.it/LSR/Item?id=710 >
At https://github.com/davidnalesnik/lilypond-roman-numeral-tool you'll find a much enhanced version of this snippet. Best, David Nalesnik