-%% 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.17.6"
+% 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, syntax-and-expressions, text"
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 |
}
\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 {