[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: repeat bars in all staves except one
From: |
David Kastrup |
Subject: |
Re: repeat bars in all staves except one |
Date: |
Thu, 18 Jun 2015 09:53:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Pierre Perol-Schneider <address@hidden> 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
Re: repeat bars in all staves except one, Thomas Morley, 2015/06/18