\version "2.18" \include "bagpipe.ly" \paper { #(set-paper-size "letter" 'landscape ) system-count = #2 } \header { title = "Bar Test" subtitle = " I want the double bar line at the end of every 8 bars. " } BarTest = { \bar "" \set Timing.measurePosition = #(ly:make-moment -1 8) e8 \bar ".|" | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 \bar "|." | \break \bar ".|" a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 \bar "|." | \break } BarTest_One = { \bar "" \set Timing.measurePosition = #(ly:make-moment -1 8) e8 \bar ".|" | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 \bar "|." | \break } BarTest_Two = { \bar "" \set Timing.measurePosition = #(ly:make-moment -1 8) e8 \bar ".|" | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 | a4 a4 a4 a4 \bar "|." | \break } \score { \new GrandStaff << \new Staff = "GHB" << \new Voice { \time 4/4 \BarTest } >> >> \header{ piece = " In this example, the closing double bar line is at the last line only but the opening double bar line is present both times. " } } \score { \new GrandStaff << \new Staff = "GHB" << \new Voice { \time 4/4 \BarTest_One } >> >> \header{ piece = " This example works, but requires a separate \score {} for each grouping of 8 bars to show the closing double bar line. " } } \score { \new GrandStaff << \new Staff = "GHB" << \new Voice { \time 4/4 \BarTest_Two } >> >> }