David Pounder <pounderd <at> lineone.net> writes:

> 
> I would probably try using \tag round the \bar commands and \removeWithTag for
the volta-repeated section.
> 


Well, it gets the job done (thanks for that), but it's less elegant than I was
hoping for.  For one thing, I don't want to have to remove those bars in the
usual case.  Is there a way to tag something so that it is *not* present by
default, but only when requested?

\version "2.11.52"

sampleNotes = \relative c'
{
   \partial 2
   e e | c c c c | e2 \tag #'unfolded \bar "||"
   \repeat volta 2 { e4 e | e e e e | }
   \alternative {
     { d2 \tag #'unfolded \bar "" }
     { c2 \bar "|." }
   }
}

\book
{
  \score { \unfoldRepeats \sampleNotes }
  \score { \removeWithTag #'unfolded \sampleNotes }
}





_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to