Re: Prevent multiple similar text marks to appear in score?
Knute Snortum <[email protected]> Tue, 7 Jul 2026 07:28:05 -0700
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CALmeJxSvfpks0zf9poReo-26nkh=Q72ibjCb5coEhV9JuW21Wg@mail.gmail.com> |
On Tue, Jul 7, 2026 at 12:25 AM Michael Scheer <[email protected]> wrote: > Hi, > > > To me, that seems like both overkill and future-fragile (requiring extra > > effort to maintain). > > May I ask you for your opinion on the following simple functions? > Those functions seem to work well, but it seems like you're reinventing the \tag. What about this? %%% \version "2.26.0" musicA = { c4 d e f | \tag #'score { \textMark "Yo" } g a d c } \score { \keepWithTag #'score \new Staff \musicA } \score { \keepWithTag #'part \new Staff \musicA } %%% -- Knute Snortum