On Sun, 17 Jul 2022 at 10:12, Benjamin Tordoff <ben.tord...@me.com> wrote: > > Hi all, > > I'm typesetting a score that uses "subito p" and "subito pp" in a couple of places. I've found snippets explaining how to get this to look right (subito in normal italics, the "p" or "pp" in dynamic font), and another snippet showing how to create a custom dynamic that correctly sets the midi volume, but not one that does both. What is the best way to add a text prefix to a dynamic whilst also retaining the dynamic's effect on MIDI output? >
Hello, You could adapt Graham's "make-dynamic-extra" into a "make-extra-dynamic". https://lists.gnu.org/archive/html/lilypond-user/2011-06/msg00335.html IIRC the alignment was correct (dynamic part was aligned on note head ) and it was correctly recognized for MIDI generation. https://lists.gnu.org/archive/html/lilypond-user/2017-08/msg00381.html Cheers, Xavier -- Xavier Scheuer <x.sche...@gmail.com>