# Lilypond: how to engrave a double bar at “Fine” when a \repeat statement follows

Under Lilypond 2.18, the following does not work as expected:

\version "2.19.45"

{
g b c r-"Fine" \bar "|." \break
\tempo "Trio"
\repeat volta 2 {
c a f f }
}


The double bar at "Fine" fails to appear. The line closes with a regular bar.

I saw the discussion at Rendering second ending closing bar when followed by another repeat in Lilypond, and the hint in the manual to use \bar ".|:-||". However, no variation of the above yields the desired outcome.

• Can you post a small, complete example that illustrates the problem? – ksnortum Aug 2 '15 at 14:20
• I guess, the problem is, that while you specify how the next bar should look like, you never specify the position where this happens. In my opinion a | should do. The \break statement is concerned with page breaks and has no automatic relation to bars. – guidot Jul 28 '16 at 15:23

This problem appeared in a multi-staff score. Usage of \repeat was not uniform across staffs. When correcting this, the closing double bar printed correctly.