lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeat bars in all staves except one


From: Pierre Perol-Schneider
Subject: Re: repeat bars in all staves except one
Date: Thu, 18 Jun 2015 09:24:31 +0200

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'' } >>
  >>
}
%%%%%%

Cheers,
Pierre

2015-06-17 20:07 GMT+02:00 Kieren MacMillan <address@hidden>:
Hello all,

In the following [minimal] snippet,

\version "2.19"

global = {
  \time 4/4
  s1
  \repeat volta 1 { s1 }
}

\score {
  <<
    \new RhythmicStaff << \global { a1 a } >>
    \new Staff << \global { c''1 c'' } >>
  >>
}

I would like to have the RhythmicStaff *not* have repeat barlines, e.g., maybe just “||” double bars.
What’s the easiest way? I can’t seem to find the right incantation…

Thanks,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]