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