Am Mo., 10. Dez. 2018 um 18:30 Uhr schrieb Veronika Neumann
<[email protected]>:
>
> Hello,
>
>
> please have a look at the attached pdf file. I want the circled bar to
> be a single bar. I also included the lilypond file.
>
>
> Many thanks in advance!
>
>
> Veronika Neuman
Hi Veronika,
several possibilities:
%% Via \override Staff.BarLine.glyph-name
\score {
<<
\relative c' {
\key d \major
\repeat volta 2 {
e2 r |
\set Score.repeatCommands = #(list (list 'volta "1., 3."))
R1
\set Score.repeatCommands = #'((volta #f) (volta "2., 4.") end-repeat)
r2
\set Score.repeatCommands = #'((volta #f))
r8 d4. |
\once \override Staff.BarLine.glyph-name = "|"
}
d1 d1 \bar "|."
}
>>
}
%% via \repeat { } \alternative { {} {} }
\score {
<<
\relative c' {
\key d \major
\repeat volta 2 {
e2 r |
}
\alternative {
{
\set Score.repeatCommands = #(list (list 'volta "1., 3."))
R1
}
{
\set Score.repeatCommands = #'((volta #f) (volta "2., 4.") end-repeat)
r2
\set Score.repeatCommands = #'((volta #f))
r8 d4. |
}
}
d1 d1
\bar "|."
}
>>
}
%% all manually
\score {
<<
\relative c' {
\key d \major
\set Score.repeatCommands = #'(start-repeat)
e2 r |
\set Score.repeatCommands = #(list (list 'volta "1., 3."))
R1
\set Score.repeatCommands = #'((volta #f) (volta "2., 4.") end-repeat)
r2
\set Score.repeatCommands = #'((volta #f))
r8 d4. |
d1 d1 \bar "|."
}
>>
}
HTH,
Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user