On 1/13/12 7:02 PM, "Vaughan McAlley" <vaug...@mcalley.net.au> wrote:
>I work with renaissance choral music separated into sections with >double barlines. ThereĀ¹s not really any need to put a line-break at >these double bars, but it looks bad if the last bar of a section >begins a line or the first bar of a section ends a line: > >https://docs.google.com/open?id=0B0YNwfxb13ZcY2E3NDAwZDAtZDEwNC00ZDA1LTliO >DktNDI2ZmM5MjNmODlm > >What would be nice is to have an option where > >% in global = { > >\skip breve.*78 bar "||" >\skip breve.*66 bar "||" >... > >expands to: > >\skip \breve.*77 \noBreak >\skip \breve. \bar "||" >\skip \breve. \noBreak > >\skip \breve.*64 \noBreak >\skip \breve. \bar "||" >\skip \breve. \noBreak >... sb = #(define-music-function (parser layout length) (number?) #{ \skip \breve.* #(1- $length) \noBreak \skip \breve. \bar "||" \skip \breve. \noBreak #}) global = { \sb 78 \sb 66 \sb 33 } HTH, Carl _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user