Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com> writes:

> Hi Kieren,
>
> %%%%%%
> \version "2.19"
>
> global = {
>   \time 4/4
>   s1
>   \repeat volta 1 { s1 }
> }
>
> \score {
>   <<
>     \new RhythmicStaff <<
>       \global
>       {
>         a1
>         \once \override RhythmicStaff.BarLine.stencil =
>           #(lambda (grob)
>              (ly:bar-line::print grob)
>               (grob-interpret-markup grob #{
>                 \markup
>                 \translate #'(.3 . -1)
>                 \override #'(thickness . 2)
>                 \concat
>                 {
>                   \draw-line #'(0 . 2)
>                   \hspace #.3
>                   \draw-line #'(0 . 2)
>                 }
>                 #}))
>         a
>         \once \override RhythmicStaff.BarLine.stencil =
>           #(lambda (grob)
>              (ly:bar-line::print grob)
>               (grob-interpret-markup grob #{
>                 \markup
>                 \translate #'(0.5 . -1)
>                 \override #'(thickness . 2)
>                 \concat
>                 {
>                   \draw-line #'(0 . 2)
>                   \hspace #.3
>                   \draw-line #'(0 . 2)
>                 }
>                 #}))
>       } >>
>     \new Staff << \global { c''1 c'' } >>
>   >>
> }
> %%%%%%

Well, that's the equivalent of snatching the engraved plates from a
human operator after the third time he declined a request and using a
paperclip to scratch the desired kind of bar into the plate.

Is there not at least a way to use the existing bar line engraving tools
for doing the job?

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to