Jump to content

Add wings to all repeat barlines (simple version)

From LilyPond wiki
Revision as of 07:19, 3 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

After switching from Sibelius, I missed having all my repeat barlines have “wings” on them. It's not documented in the LilyPond documentation, but it's not too hard to accomplish. Just add the following inside your staff.

\set Score.startRepeatType = #"[|"
\set Score.endRepeatType = #":|]"
\set Score.doubleRepeatType = #":|][|:"

\version "2.24"

\language "english"

mel = \relative c'' {
  %% for 2.18.2 use:
  \time 2,3 5/8
  %% with newer versions:
  %\time 2,3 5/8
  \repeat volta 2 { a8 b b b b | }
  \repeat volta 2 {  c8 ds c c b  }
  a8 b b b b
  \repeat volta 2 {  b8 a gs fs e  }

}

<<
  \set Score.startRepeatBarType = #"[|:"
  \set Score.doubleRepeatBarType = #":|][|:"
  \set Score.endRepeatBarType = #":|]"
  \mel
>>