X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcombining-two-parts-on-the-same-staff.ly;h=e869f243e75e157ba830157729e0cb146bbf5db8;hb=3f57efa0cde39bf0642fb6fb3672a19262ceda83;hp=e82fa075b64f79e2baa533c27ef7e40aa36f584d;hpb=d7a465a71d44e4710602cfe618edddddd437872a;p=lilypond.git diff --git a/Documentation/snippets/combining-two-parts-on-the-same-staff.ly b/Documentation/snippets/combining-two-parts-on-the-same-staff.ly index e82fa075b6..e869f243e7 100644 --- a/Documentation/snippets/combining-two-parts-on-the-same-staff.ly +++ b/Documentation/snippets/combining-two-parts-on-the-same-staff.ly @@ -1,77 +1,14 @@ -%% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% Make any changes in LSR itself, or in Documentation/snippets/new/ , -%% and then run scripts/auxiliar/makelsr.py -%% -%% This file is in the public domain. -\version "2.12.2" +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.19.56 +\version "2.19.56" \header { - lsrtags = "simultaneous-notes, text" - -%% Translation of GIT committish: 91eeed36c877fe625d957437d22081721c8c6345 - texidoces = " - -La herramienta de combinación de partes (instrucción -@code{\\partcombine}) permite la combinación de varias partes -diferentes sobre el mismo pentagrama. Las indicaciones textuales -tales como @qq{solo} o @qq{a2} se añaden de forma predeterminada; para -quitarlas, sencillamente establezca la propiedad -@code{printPartCombineTexts} al valor @qq{falso}. Para partituras -vocales (como himnos), no hay necesidad de añadir los textos @qq{solo} -o @qq{a2}, por lo que se deben desactivar. Sin embargo, podría ser -mejor no usarlo si hay solos, porque éstos no se indicarán. En tales -casos podría ser preferible la notación polifónica estándar. - -Este fragmento de código presenta las tres formas en que se pueden -imprimir dos partes sobre un solo pentagrama: polifonía estándar, -@code{\\partcombine} sin textos, y @code{\\partcombine} con -textos. - -" - doctitlees = "Combinar dos partes sobre el mismo pentagrama" - - -%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 - texidocde = " -Die Funktion, die Stimmen kombiniert (also der @code{\\partcombine}-Befehl) -ermöglicht die Kombination unterschiedlicher Stimmen auf einem -System. Textanweisungen wie \"solo\" oder \"a2\" werden automatisch -hinzugefügt. Wenn man sie entfernen will, muss man die Eigenschaft -@code{printPartCombineTexts} auf falsch setzen. Für Klavierauszüge -muss natürlich kein \"solo\"/\"a2\" usw. hinzugefügt werden, man -sollte sie also ausschalten. Wenn aber Solo-Stellen in einem -Klavierauszug oder einer Chorpartitur angezeigt werden, ist es besser, -normale Polyphonie zu verwenden, weil so die Solostellen angezeigt -werden, auch wenn der Text des Stimmenkombinierers ausgeschaltet ist. - -Der Schnipsel zeigt drei Möglichkeiten, Stimmen auf einem System zu -kombinieren: Standardpolyphonie, @code{\\partcombine} ohne Text und -@code{\\partcombine} mit Text. - -" - doctitlede = "Zwei Stimmen auf einem System kombinieren" - -%% Translation of GIT committish: 1baa2adf57c84e8d50e6907416eadb93e2e2eb5c - texidocfr = " -L'outil de combinaison de parties (la commande @code{\\partcombine}) -permet d'avoir deux parties différentes sur une même portée. LilyPond -ajoute automatiquement des indications textuelles, telles que @qq{solo} -ou @qq{a2}. Si votre intention n'est que de fusionner les parties, sans -ajouter de texte, assignez faux à la propriété -@code{printPartCombineTexts}. Dans le cas de partitions vocales, et -plus particulièrement d'hymnes, ces @qq{solo/a2} ne sont d'aucune -utilité, aussi vaut-il mieux les désactiver. Dans le cas où il y aurait -alternance entre @emph{solo} et @emph{tutti}, il vaut mieux faire appel -à de la musique polyphonique standard. - -Voici trois moyens d'imprimer deux parties sur un même portée : en -polyphonie normale, avec @code{\\partcombine} sans indication -supplémentaire, et avec @code{\\partcombine} commentée. - -" - doctitlefr = "Combinaison de deux parties sur une même portée" - + lsrtags = "simultaneous-notes, syntax-and-expressions, text" texidoc = " The part combiner tool ( @code{\\partcombine} command ) allows the @@ -94,12 +31,15 @@ staff: standard polyphony, @code{\\partcombine} without texts, and doctitle = "Combining two parts on the same staff" } % begin verbatim +%% Combining pedal notes with clef changes + musicUp = \relative c'' { \time 4/4 a4 c4.( g8) a4 | g4 e' g,( a8 b) | c b a2. -} +} % begin verbatim + musicDown = \relative c'' { g4 e4.( d8) c4 | @@ -108,28 +48,26 @@ musicDown = \relative c'' { } \score { - << << - \new Staff { - \set Staff.instrumentName = #"Standard polyphony" + \new Staff \with { instrumentName = #"Standard polyphony" } + << \musicUp \\ \musicDown >> + + \new Staff \with { + instrumentName = #"PartCombine without text" + printPartCombineTexts = ##f } - \new Staff \with { printPartCombineTexts = ##f } { - \set Staff.instrumentName = #"PartCombine without texts" - \partcombine \musicUp \musicDown - } - \new Staff { - \set Staff.instrumentName = #"PartCombine with texts" + + \partcombine \musicUp \musicDown + + \new Staff \with { instrumentName = #"PartCombine with text" } \partcombine \musicUp \musicDown - } >> - >> \layout { indent = 6.0\cm \context { \Score - \override SystemStartBar #'collapse-height = #30 + \override SystemStartBar.collapse-height = #30 } } } -