Add wings to all repeat barlines (simple version): Difference between revisions
Appearance
m New category |
mNo edit summary |
||
| Line 1: | Line 1: | ||
After switching from Sibelius, I missed having all my repeat barlines have | 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 = #":|][|:" | |||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
Latest revision as of 07:19, 3 December 2025
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
>>