1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.56
11 lsrtags = "simultaneous-notes, syntax-and-expressions, text"
14 The part combiner tool ( @code{\\partcombine} command ) allows the
15 combination of several different parts on the same staff. Text
16 directions such as @qq{solo} or @qq{a2} are added by default; to remove
17 them, simply set the property @code{printPartCombineTexts} to @code{f}.
18 For vocal scores (hymns), there is no need to add @qq{solo/a2} texts,
19 so they should be switched off. However, it might be better not to use
20 it if there are any solos, as they won't be indicated. In such cases,
21 standard polyphonic notation may be preferable.
23 This snippet presents the three ways two parts can be printed on a same
24 staff: standard polyphony, @code{\\partcombine} without texts, and
25 @code{\\partcombine} with texts.
31 doctitle = "Combining two parts on the same staff"
34 %% Combining pedal notes with clef changes
36 musicUp = \relative c'' {
44 musicDown = \relative c'' {
52 \new Staff \with { instrumentName = #"Standard polyphony" }
54 << \musicUp \\ \musicDown >>
57 instrumentName = #"PartCombine without text"
58 printPartCombineTexts = ##f
61 \partcombine \musicUp \musicDown
63 \new Staff \with { instrumentName = #"PartCombine with text" }
64 \partcombine \musicUp \musicDown
70 \override SystemStartBar.collapse-height = #30