Peter,
A rest can be positioned by using a pitch name, duration, \rest, e.g.,
c8\rest puts an eighth rest where "c" would be (depending on the clef). The
attached example might be clearer.
Mark
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Peter Danemo
Sent: Saturday, January 24, 2015 7:44 AM
To: [email protected]
Subject: Pianostaff 4-part writing and rests
Hello!
I'm a pretty unexperienced Lilypond user. I'm working on the layout of a
small piece. It's basically a hymn written using a piano staff. If both
voices have a rest on the first beat and start on the second beat I get two
quarter note rests. I need it to be just one. I learned how to make a rest
invisible, but that doesn't change the position for the remaining rest.
Is there a easy way of doing this?
Furthermore, the piece ends with just 3 bars on the last line. But i fills
upp the whole page anyway. Is there a way of getting the 3 bars to take up
the same as the bars above? Making a 4th invisible bar!?
Best wishes!
/Peter
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
\version "2.18.0"
\paper {
print-all-headers = ##t
}
\score {
\new PianoStaff <<
\new Staff = "upper"
\relative c'' {
\clef treble
\key cis \minor
\time 4/4
<<
\new Voice \relative c' { \voiceOne
b'4\rest cis cis cis |
}
\new Voice \relative c' { \voiceTwo
s4 e e e |
}
>>
}
\new Staff = "lower"
\relative c {
\clef bass
\key cis \minor
\time 4/4
<<
\new Voice \relative c { \voiceOne
dis4\rest gis gis gis |
}
\new Voice \relative c { \voiceTwo
s4 cis, cis cis |
}
>>
}
>>
\layout {
indent = 0
}
\header {
title = "title goes here"
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user