On 9 Aug 2005, at 13:42, Mats Bengtsson wrote:
The easiest way to automate it is probably to do something like (assuming the piece repeats this pattern 12 times) barlines = { \repeat 12 {s8*7 \bar ":" s8*7 \bar ":" s8*11 | } which you can add in one of your staves (since a \bar statement applies to all staves, you can add it anywhere): \score{ ... \new Staff << \barlines \ordinaryMusicInThisStave >> ... }
This is working; then one, at least, does not have to write it in by hand in each measure, though one still has to fiddle around with the meter count a bit. Thank you. Corrected syntax: barlines = { \repeat unfold 12 {s8*7 \bar ":" s8*7 \bar ":" s8*11 | } }
Hans Aberg _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user