James <derhindem...@gmail.com> writes: > Is is possible to have simultaneous multiple tags? > I'm trying: > \version "2.14.2" > > control = { > s1*2 > \tag #'threes { \time 3/4 s2. } > \tag #'twos { \time 2/4 s2 } } > tset = \relative c' { > c4 d e f > \tag #'up {g4 a b c } > \tag #'down { g4 f e d } > \tag #'threes { g4 f e } > \tag #'twos { g2 } } > > \score { > \new Staff << { > \keepWithTag #'threes > \control } { > \keepWithTag #'up > \keepwithTag #'threes > \tset } >> } > \score { > \new Staff << { > \keepWithTag #'twos > \control } { > \keepWithTag #'down > \keepWithTag #'twos > \tset } >> } > > but lilypond is not happy with the doubled tags.
What makes you think that? It is quite happy, but if you ask it to remove every tag except #'twos, and then remove every remaining tag except #'down, naturally nothing will be left. \keepWithTag does not make sense with nested expressions: you need to use \removeWithTag in this case. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user