Thank you, by adding curly brackets it is getting closer in that I now see piano-staves, but they come out staggered rather than linear!!
How can I get the staves now in a linear fashion?
Picture 7.png
Description: application/applefile
<<inline: Picture 7.png>>
%{ Voicings ii-v %}\version "2.12.2" % necessary for upgrading to future LilyPond versions.
\header { } rh = \relative c'' { \key c \major \time 4/4 | <a e' a>2 <a e' a> | <g d 'g>1 } % end relative rh lh = \relative c' { \key c \major \clef "bass" \time 4/4 | <f, c' e>2 <f b e> | <e b' d>1 } % end relative lh \book { \score { \new PianoStaff << \new staff = "rh" { \rh \transpose c d \rh \transpose c e \rh } \new staff = "lh" { \lh \transpose c d \lh \transpose c e \lh } \override Score.MetronomeMark #'padding = #3 \tempo 4=96 >> % end PianoStaff \layout { } \midi { } } % end score } % end book Thank you, Avram On Jan 31, 2010, at 10:23 AM, Reinhold Kainhofer wrote:
Am Sonntag, 31. Januar 2010 19:09:19 schrieb Avram Aelony:\new PianoStaff << \new Staff = "rh" \rh \transpose c d \rh \transpose c e \rhHere the two \transpose commands are outside the staff! The staff contains just the immediately following expression, which is \rh in this case...So, your code is effectively the same as \new Staff = "rh" \rh \new Staff \transpose c d \rh \new Staff \transpose c e \rhWhat you rather want is that the two \transpose commands are also inside the staff's music expression. For this you have to put all the content for thestaff inside curly brackets: \new Staff = "rh" { \rh \transpose c d \rh \transpose c e \rh }Now the staff contains the transpose commands as well, and your score shouldwork. Cheers, Reinhold -- ------------------------------------------------------------------Reinhold Kainhofer, reinh...@kainhofer.com, http:// reinhold.kainhofer.com/* Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user