I wonder if this is hackable if I just duplicate the current staff context as a dynamic context and then remove all of the markup objects from the staff context…
~Fennel On Tuesday, June 25th, 2024 at 12:52 PM, carsonm...@ca.rr.com <carsonm...@ca.rr.com> wrote: > Fennel, > > Go to: > https://lilypond.org/doc/v2.24/Documentation/notation/expressive-marks-attached-to-notes#dynamics > > And scroll down to “A dynamics context”. > > Mark > > From: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org > <lilypond-user-bounces+carsonmark=ca.rr....@gnu.org> On Behalf Of Fennel > Sent: Tuesday, June 25, 2024 9:06 AM > To: Lilypond-User Mailing List <lilypond-user@gnu.org> > Subject: Vertically align objects of same class? > > I have a bunch of objects of the same type that I’d like to all be aligned to > the same Y-level on a per staff basis. > > Here’s an example: > > \version "2.24.3" > > \relative c'' { > > c_"I" c'_"II" c,,_"III" c'_"IV"\break > > g_"A" g'_"B" g,,_"C" g'_"D" > > } > > I would like for all of the markup objects on each staff to align with the > lowest default placement, so in this example in the first staff all text > would vertically align with the “III” and in the second staff all test would > vertically align with the “C”. I know that lyricMode would work well in this > example, but I would also like to do the same thing with HorizontalBrackets > and I’m mainly using this for string indications which do not appear on every > note, making lyricmode somewhat of a pain to use in this scenario. > > -Fennel > >