lilypond-user
[Top][All Lists]
Advanced

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

tag and default


From: Gianmaria Lari
Subject: tag and default
Date: Thu, 12 Apr 2018 10:56:10 +0200

This code ...

\version "2.19.81"
var = { 
  \tag #'mya {a}
  \tag #'myb {b}
}

{ \keepWithTag #'mya \var }
{ \keepWithTag #'myb \var }
{ \var}

creates three scores:

1) a
2) b
3) a b

In the third case, where no \keepWithTag is specified, lilypond returns all elements (a and b).

Is there any way to make lilypond returning only one element (a sort of default element) and not all the elements IF I don't specify any \keepWithTag? 

Thank you, g.

reply via email to

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