]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/combining-two-parts-on-the-same-staff.ly
4916607521b66d071fa145cc8607ed50acfae116
[lilypond.git] / input / lsr / combining-two-parts-on-the-same-staff.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "simultaneous-notes, text"
7
8 %% Translation of GIT committish: 04ab6c269b4067b6ed334d460339818d90513396
9   texidoces = "
10 La herramienta de combinación de partes ( instrucción
11 @code{\\partcombine}) permite la combinación de varias partes
12 diferentes sobre el mismo pentagrama.  Las indicaciones textuales
13 tales como \"solo\" o \"a2\" se añaden de forma predeterminada;
14 para quitarlas, sencillamente establezca la propiedad
15 @code{printPartCombineTexts} al valor \"falso\".  Para partituras
16 vocales (como himnos), no hay necesidad de añadir los textos
17 \"solo\" o \"a2\", por lo que se deben desactivar.  Sin embargo,
18 podría ser mejor no usarlo si hay solos, porque éstos no se
19 indicarán.  En tales casos podría ser preferible la notación
20 polifónica estándar.
21
22 Este fragmento de código presenta las tres formas en que se pueden
23 imprimir dos partes sobre un solo pentagrama: polifonía estándar,
24 @code{\\partcombine} sin textos, y @code{\\partcombine} con
25 textos.
26
27 "
28   doctitlees = "Combinar dos partes sobre el mismo pentagrama"
29
30 %% Translation of GIT committish: 0364058d18eb91836302a567c18289209d6e9706
31   texidocde = "
32 Die Funktion, die Stimmen kombiniert (also der @code{\\partcombine}-Befehl)
33 ermöglicht die Kombination unterschiedlicher Stimmen auf einem
34 System.  Textanweisungen wie \"solo\" or \"a2\" werden automatisch
35 hinzugefügt.  Wenn man sie entfernen will, muss man die Eigenschaft
36 @code{printPartCombineTexts} auf flasch setzen.  Für Klavierauszüge
37 muss natürlich kein \"solo\"/\"a2\" usw. hinzugefügt werdne, man
38 sollte sie also ausschalten.  Wenn aber Solo-Stellen in einem
39 Klavierauszug oder einer Chorpartitur angezeigt werden, ist es besser,
40 normale Polyphonie zu verwenden, weil so die Solostellen angezeigt
41 werden, auch wenn der Text des Stimmenkombinierers ausgeschaltet ist.
42
43 Der Schnipsel zeigt drei Möglichkeiten, Stimmen auf einem System zu
44 kombinieren: Standardpolyphonie, @code{\\partcombine} ohne Text und
45 @code{\\partcombine} mit Text.
46
47 "
48   doctitlede = "Zwei Stimmen auf einem System kombinieren"
49
50   texidoc = "
51 The part combiner tool ( @code{\\partcombine} command ) allows the
52 combination of several different parts on the same staff.  Text
53 directions such as \"solo\" or \"a2\" are added by default; to remove
54 them, simply set the property @code{printPartCombineTexts} to
55 \"false\". For vocal scores (hymns), there is no need to add
56 \"solo\"/\"a2\" texts, so they should be switched off.  However, it
57 might be better not to use it if there are any solos, as they won't be
58 indicated.  In such cases, standard polyphonic notation may be
59 preferable.
60
61 This snippet presents the three ways two parts can be printed on a same
62 staff: standard polyphony, @code{\\partcombine} without texts, and
63 @code{\\partcombine} with texts.
64
65
66
67
68 "
69   doctitle = "Combining two parts on the same staff"
70 } % begin verbatim
71
72 musicUp = \relative c'' {
73   \time 4/4
74   a4 c4.( g8) a4 |
75   g4 e' g,( a8 b) |
76   c b a2.
77 }
78
79 musicDown = \relative c'' {
80   g4 e4.( d8) c4 |
81   r2 g'4( f8 e) |
82   d2 \stemDown a
83 }
84
85 \score {
86   <<
87     <<
88     \new Staff {
89       \set Staff.instrumentName = "Standard polyphony  "
90       << \musicUp \\ \musicDown >>
91     }
92     \new Staff \with { printPartCombineTexts = ##f } {
93       \set Staff.instrumentName = "PartCombine without texts  "
94       \partcombine \musicUp \musicDown
95     }
96     \new Staff {
97       \set Staff.instrumentName = "PartCombine with texts  "
98       \partcombine \musicUp \musicDown
99     }
100     >>
101   >>
102   \layout {
103     indent = 6.0\cm
104     \context {
105       \Score
106       \override SystemStartBar #'collapse-height = #30
107     }
108   }
109 }
110