lilypond-user
[Top][All Lists]
Advanced

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

Re: NR 3.3.2: \tagGroup


From: David Kastrup
Subject: Re: NR 3.3.2: \tagGroup
Date: Wed, 02 Dec 2015 16:59:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Federico Bruni <address@hidden> writes:

> Ok, I got it:
>
> \version "2.19.31"
>
> music = \relative c'' {
>  \tagGroup #'(A B C)
>  \tag #'A { a4 a a a }
>  \tag #'B { b4 b b b }
>  \tag #'C { c4 c c c }
>  \tag #'D { d4 d d d }
> }
>
> \new Staff {
>  \keepWithTag #'A
>  \music
> }
>
> will print #'A and #'D but not #'B and #'C

Correct.  If you replace the rather generic names A, B, C, D, E with
something more specific like Urtext, EditionBrauer, EditionThoeni,
Layout, Midi, then it becomes more obvious that it's a nuisance if

\keepWithTag #'Urtext

will remove every music tagged with Midi or Layout.  Forming two
separate tag groups will cure that problem.

-- 
David Kastrup



reply via email to

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