lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grouping grobs


From: Jean Abou Samra
Subject: Re: Grouping grobs
Date: Tue, 16 Aug 2022 19:04:18 +0200



Le 16 août 2022 à 18:51, lilypond@lists.johnteskemusic.com a écrit :


Hi,

I'm new to Lilypond and am trying to generate SVG output for use elsewhere. In general I'd like to create fragments of music and add ids to each group. So far I've seen that each grob is output as its own <g>--is there a way to group at a higher level, say markup, staff, etc.?

John
\version "2.22.2"
\markup {
    % with SVG output this is two <g>: notehead and dot
    % \override NoteHead.output-attributes.id = 123
    \note {4.} #0
}


Hi John,

There isn’t a simple way to do this. I wonder what leads you to this question, though. Could you explain the purpose for which you would like this type of output? There may be a different way to solve your problem. See also: https://en.m.wikipedia.org/wiki/XY_problem

Best regards,
Jean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]