lilypond-user
[Top][All Lists]
Advanced

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

Re: Hide the system start bar before a single context?


From: Pierre Perol-Schneider
Subject: Re: Hide the system start bar before a single context?
Date: Sun, 17 Aug 2014 11:05:23 +0200

Hi Trevor,

2014-08-17 0:42 GMT+02:00 Trevor Bača <address@hidden>:
 
I'm looking to remove the system start *bar* (rather than the start brace or bracket).
 
Oups, wrong snippet, did not check well enough.. I thought of another one.
How about something like :

\version "2.19.11"

addStartBar = \markup {
  \hspace #-.9
  \lower #.95
  \override #'(thickness . 2)
  \draw-line #'(0 . 3.9)
  \hspace #.2
  \musicglyph #"clefs.G"
}

\score {
  <<
    <<
      \new Staff
        \with {
          \override Clef.stencil = #(lambda (grob)
            (grob-interpret-markup grob addStartBar))
        }
        {
          c'4 d' e' f'
        }
    >>
    \new Staff {
      c'4 d' e' f'
    }
    \new Staff
      \with {
        \override Clef.stencil = #(lambda (grob)
          (grob-interpret-markup grob addStartBar))
      }
      {
        c'4 d' e' f'
      }
  >>
  \layout {
    \context {
      \Score
      \omit SystemStartBar
    }
  }
}



Pierre

 


reply via email to

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