]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/combining-two-parts-on-the-same-staff.ly
Doc: Update LSR.
[lilypond.git] / Documentation / snippets / combining-two-parts-on-the-same-staff.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.16"
5
6 \header {
7   lsrtags = "simultaneous-notes, text"
8
9 %% Translation of GIT committish: d2119a9e5e951c6ae850322f41444ac98d1ed492
10   texidoces = "
11
12 La herramienta de combinación de partes ( instrucción
13 @code{\\partcombine}) permite la combinación de varias partes
14 diferentes sobre el mismo pentagrama.  Las indicaciones textuales
15 tales como @qq{solo} o @qq{a2} se añaden de forma predeterminada; para
16 quitarlas, sencillamente establezca la propiedad
17 @code{printPartCombineTexts} al valor @qq{falso}.  Para partituras
18 vocales (como himnos), no hay necesidad de añadir los textos @qq{solo}
19 o @qq{a2}, por lo que se deben desactivar.  Sin embargo, podría ser
20 mejor no usarlo si hay solos, porque éstos no se indicarán.  En tales
21 casos podría ser preferible la notación polifónica estándar.
22
23 Este fragmento de código presenta las tres formas en que se pueden
24 imprimir dos partes sobre un solo pentagrama: polifonía estándar,
25 @code{\\partcombine} sin textos, y @code{\\partcombine} con
26 textos.
27
28 "
29   doctitlees = "Combinar dos partes sobre el mismo pentagrama"
30
31 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
32   texidocde = "
33 Die Funktion, die Stimmen kombiniert (also der @code{\\partcombine}-Befehl)
34 ermöglicht die Kombination unterschiedlicher Stimmen auf einem
35 System.  Textanweisungen wie \"solo\" or \"a2\" werden automatisch
36 hinzugefügt.  Wenn man sie entfernen will, muss man die Eigenschaft
37 @code{printPartCombineTexts} auf flasch setzen.  Für Klavierauszüge
38 muss natürlich kein \"solo\"/\"a2\" usw. hinzugefügt werdne, man
39 sollte sie also ausschalten.  Wenn aber Solo-Stellen in einem
40 Klavierauszug oder einer Chorpartitur angezeigt werden, ist es besser,
41 normale Polyphonie zu verwenden, weil so die Solostellen angezeigt
42 werden, auch wenn der Text des Stimmenkombinierers ausgeschaltet ist.
43
44 Der Schnipsel zeigt drei Möglichkeiten, Stimmen auf einem System zu
45 kombinieren: Standardpolyphonie, @code{\\partcombine} ohne Text und
46 @code{\\partcombine} mit Text.
47
48 "
49   doctitlede = "Zwei Stimmen auf einem System kombinieren"
50 %% Translation of GIT committish: 1baa2adf57c84e8d50e6907416eadb93e2e2eb5c
51   texidocfr = "
52 L'outil de combinaison de parties (la commande @code{\\partcombine})
53 permet d'avoir deux parties différentes sur une même portée.  LilyPond
54 ajoute automatiquement des indications textuelles, telles que @qq{solo}
55 ou @qq{a2}.  Si votre intention n'est que de fusionner les parties, sans
56 ajouter de texte, assignez faux à la propriété
57 @code{printPartCombineTexts}.  Dans le cas de partitions vocales, et
58 plus particulièrement d'hymnes, ces @qq{solo/a2} ne sont d'aucune
59 utilité, aussi vaut-il mieux les désactiver.  Dans le cas où il y aurait
60 alternance entre @emph{solo} et @emph{tutti}, il vaut mieux faire appel
61 à de la musique polyphonique standard.
62
63 Voici trois moyens d'imprimer deux parties sur un même portée : en
64 polyphonie normale, avec @code{\\partcombine} sans indication
65 supplémentaire, et avec @code{\\partcombine} commentée.
66
67 "
68   doctitlefr = "Combinaison de deux parties sur une même portée"
69
70
71   texidoc = "
72 The part combiner tool ( @code{\\partcombine} command ) allows the
73 combination of several different parts on the same staff.  Text
74 directions such as @qq{solo} or @qq{a2} are added by default; to remove
75 them, simply set the property @code{printPartCombineTexts} to @code{f}.
76 For vocal scores (hymns), there is no need to add @qq{solo/a2} texts,
77 so they should be switched off.  However, it might be better not to use
78 it if there are any solos, as they won't be indicated.  In such cases,
79 standard polyphonic notation may be preferable.
80
81 This snippet presents the three ways two parts can be printed on a same
82 staff: standard polyphony, @code{\\partcombine} without texts, and
83 @code{\\partcombine} with texts.
84
85
86
87
88 "
89   doctitle = "Combining two parts on the same staff"
90 } % begin verbatim
91
92 musicUp = \relative c'' {
93   \time 4/4
94   a4 c4.( g8) a4 |
95   g4 e' g,( a8 b) |
96   c b a2.
97 }
98
99 musicDown = \relative c'' {
100   g4 e4.( d8) c4 |
101   r2 g'4( f8 e) |
102   d2 \stemDown a
103 }
104
105 \score {
106   <<
107     <<
108     \new Staff {
109       \set Staff.instrumentName = #"Standard polyphony"
110       << \musicUp \\ \musicDown >>
111     }
112     \new Staff \with { printPartCombineTexts = ##f } {
113       \set Staff.instrumentName = #"PartCombine without texts"
114       \partcombine \musicUp \musicDown
115     }
116     \new Staff {
117       \set Staff.instrumentName = #"PartCombine with texts"
118       \partcombine \musicUp \musicDown
119     }
120     >>
121   >>
122   \layout {
123     indent = 6.0\cm
124     \context {
125       \Score
126       \override SystemStartBar #'collapse-height = #30
127     }
128   }
129 }
130