Greetings Ivan,
I hope the attached file is of some use...
By using two 'Score' statements I think your requirement is met, EXCEPT that it works only if the example is only one system. By choosing a wider page eg 'landscape' mode one might be able to obtain a fairly large example (more measures) while staying in the 'one-line' limitation. I hope this is of some use - obviously you will be able to adapt the simple music to your specifics using Changeup changedown etc.
Regards
Bill
\version "2.14.2"
\header { }
\paper { }
exampleA = \lyricmode
{
Aa Bb C D E F G A B C D E
}
exampleB = \lyricmode
{
Bb C D E F G A B C D E Ff
}
RHA = \relative c'
{
\clef treble
\key c \major
a^"Example A" b c d e f g a b c d e
}
LHA = \relative c
{
\clef bass
\key c \major
a b c d e f g a b c d e
}
RHB = \relative c'
{
\clef treble
\key c \major
b^"Example B" c d e f g a b c d e f
}
LHB = \relative c
{
\clef bass
\key c \major
b c d e f g a b c d e f
}

staffPianoA = \new PianoStaff
{
<<
\new Staff = "RH" {  \RHA	}
\new Voice = singer { \LHA  }
\new Lyrics  \lyricsto singer { \exampleA }
>>
}

staffPianoB = \new PianoStaff
{
<<
\new Staff = "RH" {  \RHB	}
\new Voice = singer { \LHB  }
\new Lyrics  \lyricsto singer { \exampleB }
>>
}
\score %exampleA
{
<<
\staffPianoA
>>
}
\score %exampleB
{
<<
\staffPianoB
>>
}

\layout
{
\context
{
\Staff
\remove "Time_signature_engraver" 
\remove "Clef_engraver"
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to