Okay - I'm getting close. However, in the following file, I don't understand : 1) Why there seems to be a \partial at the beginning of the main staves (or why the barlines are offset by a quarter note); 2) Why there are no barlines in the ossia.
I'm attaching a PDF of the output.
I would appreciate any help you can give me.
Pondly,
Ralph
%%%%%%%% Begin Snippet %%%%%%%%%%%
\version "2.12.3"
mainA =
\relative c' { \key c \major \clef treble \time 4/4
d4 e f g | e4 e f f | g4 g e e | d4 c c d | c4 b b c | b4 c d e | }
mainB = \relative c' {
\key c \major \clef treble \time 4/4
e4 e f f | d4 d c c | b4 b c c | b4 c d c | c4 d c d | d4 e d e | }