1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @c This file is part of lilypond.tely
4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. See TRANSLATION for details.
10 @c A menu is needed before every deeper *section nesting of @node's; run
11 @c M-x texinfo-all-menus-update
12 @c to automatically fill in these menus before saving changes
15 @node Advanced notation
16 @chapter Advanced notation
18 This chapter deals with rarely-used and advanced notation.
27 @section Preparing parts
29 This section describes various notation that are useful for preparing
33 * Multi measure rests::
38 * Instrument transpositions::
40 * Different editions from one source::
44 @anchor{Different editions from one source}
45 @unnumberedsubsubsec Different editions from one source
50 The @code{\tag} command marks music expressions with a name. These
51 tagged expressions can be filtered out later. With this mechanism it
52 is possible to make different versions of the same music source.
54 In the following example, we see two versions of a piece of music, one
55 for the full score, and one with cue notes for the instrumental part
71 The same can be applied to articulations, texts, etc.: they are
76 to an articulation, for example,
81 This defines a note with a conditional fingering indication.
85 By applying the @code{\keepWithTag} and @code{\removeWithTag}
86 commands, tagged expressions can be filtered. For example,
90 \keepWithTag #'score @var{the music}
91 \keepWithTag #'part @var{the music}
96 @lilypondfile[ragged-right,quote]{tag-filter.ly}
98 The arguments of the @code{\tag} command should be a symbol
99 (such as @code{#'score} or @code{#'part}), followed by a
100 music expression. It is possible to put multiple tags on
101 a piece of music with multiple @code{\tag} entries,
104 \tag #'original-part \tag #'transposed-part @dots{}
110 Examples: @lsr{parts,tag@/-filter@/.ly}
115 Multiple rests are not merged if you create the score with both tagged