Oops, sent this to myself. D'oh! -------- Original Message -------- > \score{ > \relative c' << > \new Staff{ R1 | R1 | \repeat volta 2 { c4 e d f } | \break R1 | > \repeat volta 2 { c4 f e d } | R1 | \break \repeat volta 2 { c4 d e f } > | f e d c | g' f e d | } > \new Staff{ c4 d e f | c d e f | \stopStaff s1 \startStaff c4 d e f | > \stopStaff s1 \startStaff | c4 d e f | \stopStaff s1 \startStaff | c4 d > e f | g4 f e d } > \layout { > \context { \Score > \remove "Timing_translator" > \remove "Default_bar_line_engraver" > \remove "Repeat_acknowledge_engraver" > } > \context { > \Staff > \consists "Timing_translator" > \consists "Default_bar_line_engraver" > \consists "Repeat_acknowledge_engraver" > } > } > }
Well, it turns out this doesn't work for what I'm trying to do. The example below is a bit long, but it does show the problem with the \layout block that the example above does not. -- Shamus \version "2.8.2" \include "english.ly" % % Lead vocal % LeadVox = \relative c' { \set Voice.autoBeaming = ##f \clef G \key a \major \override Staff.TimeSignature #'style = #'() \time 4/4 \override Score.SpacingSpanner #'average-spacing-wishes = ##f % Intro R1^\markup { \italic { Light ballad } } | % 1 R1 | % 2 R1 | % 3 r2 r4. cs16 [ d ] | % 4 \repeat volta 4 { % Verse \once \override Score.RehearsalMark #'self-alignment-X = #left \mark \markup { \override #'(font-family . sans) { \box { A } } \small \italic { Solo 3rd time } } e8 [ e e fs ] ~ fs4 fs | % 5 e4 d cs r8 cs16 [ d ] | % 6 e8 [ e e fs ] ~ fs4 fs | % 7 e4 b' a r8 a16 [ b ] | % 8 cs2 b4 r8 b16 [ cs ] | % 9 d4. cs8 cs4 r8 a16 [ gs ] | % 10 fs8 [ gs a a ] ~ a4 b | % 11 cs4 gs a2 \bar "||" % 12 } } LeadVoxText = \lyricmode { Do you know what the heck is go- ing on, } % % Riff/rhythm figures % StaffRiffs = \relative c' { \set Voice.autoBeaming = ##f \key a \major \override Staff.TimeSignature #'style = #'() \time 4/4 % Intro <e b>8 [ a, <e' b> a, ] <e' b> [ a, <e' b> a, ] | % 1 <e' b>8 [ a, <e' b> a, ] <e' b> [ a, <e' b> a, ] | % 2 <e' b>8 [ a, <e' b> a, ] <e' b> [ a, <e' b> a, ] | % 3 <e' b>8 [ a, <e' b> a, ] <e' b> [ a, <e' b> a, ] | % 4 \stopStaff } % % Chord names % Chords = \chordmode { % Intro a1:sus2 | % 1 d1:6.9 | % 2 a1:sus2 | % 3 d2:6.9 e:sus4 | % 4 \repeat volta 4 { % Verse a2 d | % 5 a4/e e:7 a2 | % 6 a2 d | % 7 a4/e f:dim7 fs2:m7 | % 8 a2/e e | % 9 b2:m7 fs:m7 | % 10 b2:m7 a/cs | % 11 d4:maj7 e a2 \bar "||" % 12 } } % % Chord rhythms % StaffC = \relative c { \set Voice.autoBeaming = ##f \override Staff.TimeSignature #'style = #'() \time 4/4 \override NoteHead #'style = #'slash % Intro c4 c c c | % 1 c4 c c c | % 2 c4 c c c | % 3 c4 c c c | % 4 \repeat volta 4 { % Verse c4 c c c | % 5 c4 c c c | % 6 c4 c c c | % 7 c4 c c c | % 8 c4 c c c | % 9 c4 c c c | % 10 c4 c c c | % 11 c4 c c c \bar "||" % 12 } } \score { << << \new Staff = leadStaff { \new Voice = "lead" \LeadVox } \new Lyrics \lyricsto "lead" \LeadVoxText >> \new Staff \with { \remove "Time_signature_engraver" \remove "Clef_engraver" %Hmm, removing this screws up the formatting... % \remove "Key_engraver" fontSize = #-3.0 \override StaffSymbol #'staff-space = #(magstep -3.0) } \StaffRiffs \new ChoirStaff = "Rhythm" << \new ChordNames = "chords" \Chords \new RhythmicStaff = "chordRhythm" \StaffC >> \set Score.melismaBusyProperties = #'() >> \layout { \context { \RemoveEmptyStaffContext } ragged-last = ##t \context { \Score \remove "Timing_translator" \remove "Default_bar_line_engraver" \remove "Repeat_acknowledge_engraver" } \context { \Staff \consists "Timing_translator" \consists "Default_bar_line_engraver" \consists "Repeat_acknowledge_engraver" } } } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user