http://lsr.dsi.unimi.it/LSR/Snippet?id=344 did you look at this snippet it looks like the answer is there.
On Mon, Feb 7, 2011 at 10:52 AM, Ralph Palmer <[email protected]> wrote: > > > On Fri, Feb 4, 2011 at 4:29 PM, Shane Brandes <[email protected]> wrote: >> >> comment out the two \removes in the last context section and get rid >> of all s4*1/3 in your ossias and you will have something that looks >> correct. >> >> Shane >> >> On Fri, Feb 4, 2011 at 12:26 PM, Ralph Palmer <[email protected]> >> wrote: >> > 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 | >> > } >> > >> > >> > % ossia part A >> > ossiaA = >> > \new Staff >> > \with { >> > \remove "Time_signature_engraver" >> > \override Clef #'transparent = ##t >> > fontSize = #-3 >> > \override StaffSymbol #'staff-space = #(magstep -3) >> > \override StaffSymbol #'thickness = #(magstep -3) >> > } >> > >> > \relative c' { >> > \key c \major >> > \clef treble >> > \time 6/4 >> > >> > { \stopStaff s4*6 } | >> > % begin ossiaA >> > \startStaff >> > \bar "|" >> > a'4 s4*1/3 b4 s4*1/3 c4 s4*1/3 b4 s4*1/3 >> > \bar "|" >> > c4 s4*1/3 d4 s4*1/3 e4 s4*1/3 f4 s4*1/3 >> > c4 s4*1/3 d4 s4*1/3 e4 s4*1/3 f4 s4*1/3 >> > \stopStaff >> > } >> > >> > % ossia part B >> > ossiaB = >> > \new Staff >> > \with { >> > \remove "Time_signature_engraver" >> > \override Clef #'transparent = ##t >> > fontSize = #-3 >> > \override StaffSymbol #'staff-space = #(magstep -3) >> > \override StaffSymbol #'thickness = #(magstep -3) >> > } >> > >> > \relative c' { >> > \key c \major >> > \clef treble >> > \time 6/4 >> > >> > { \stopStaff s4*6 } | >> > % begin ossiaB >> > \startStaff >> > d'4 s4*1/3 c4 s4*1/3 d4 s4*1/3 c4 s4*1/3 >> > e4 s4*1/3 d4 s4*1/3 c4 s4*1/3 b4 s4*1/3 >> > e4 s4*1/3 c4 s4*1/3 e4 s4*1/3 b4 s4*1/3 >> > \stopStaff >> > } >> > >> > \score { >> > << >> > \new StaffGroup << >> > \new Staff \with { >> > \consists "Timing_translator" >> > \consists "Default_bar_line_engraver" >> > } >> > << \mainA >> >> > \new Staff \with { >> > \consists "Timing_translator" >> > \consists "Default_bar_line_engraver" >> > } >> > << \mainB >> >> > >> >> > \\ >> > \new StaffGroup >> > << >> > \new Staff \with { >> > \consists "Timing_translator" >> > \consists "Default_bar_line_engraver" >> > } >> > << \ossiaA >> >> > \new Staff \with { >> > \consists "Timing_translator" >> > \consists "Default_bar_line_engraver" >> > } >> > << \ossiaB >> >> > >> >> > >> >> > \header {} >> > \layout { >> > \context { >> > \RemoveEmptyStaffContext >> > \override VerticalAxisGroup #'remove-first = ##t >> > } >> > \context { >> > \Score >> > \remove "Timing_translator" >> > \remove "Default_bar_line_engraver" >> > } >> > } >> > % \midi {} >> > } >> > >> > >> > %%%%%%%% End Snippet %%%%%%%%%%%% >> > >> > -- >> > Ralph Palmer >> > Montague City, MA >> > USA >> > [email protected] >> > > > No, I'm afraid this does not work. The problem is that the I need three bars > (of 4 quarter notes each) in the ossia to span 4 bars (of 4 quarter notes > each) in the main staves. I'm again attaching the PDF of the effect I'm > trying to achieve. > > Ralph > > > -- > Ralph Palmer > Montague City, MA > USA > [email protected] > _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
