Hi again Andrea,

2014-10-29 15:37 GMT+01:00 Jayaratna <[email protected]>:


> can I customize a double barline \bar"||" so that the space between the two
> lines is white and not transparent? This would make two consecutive bars to
> appear as separate file.
>

I can see the idea.
I'm not sure I can find exactly what you want ; see enclosed file as a
first attempt.
Cheers,
Pierre
\version "2.18.2"

myFirstIncipit = \markup \score {
  \new Staff {
    \clef "petrucci-c3"
    s8
  }
  \layout {
    line-width = 20
    \context {
      \Score
      \omit TimeSignature
    }
  }
}

mySecondIncipit = \markup\column {
  \score {
    \new Staff {
      \clef "petrucci-c4"
      s8
    }
    \layout {
      line-width = 20
      \context {
        \Score
        \omit TimeSignature
      }
    }
  }
  \vspace #.4
}

myThirdIncipit = \markup \score {
  \new Staff {
    \clef "mensural-f"
    s8
  }
  \layout {
    line-width = 20
    \context {
      \Score
      \omit TimeSignature
    }
  }
}

Attachment: myScore.pdf
Description: Adobe PDF document

\version "2.18.2"
\include "myIncipits.ly"
#(set-global-staff-size 19)
\pointAndClickOff

gap = \mark\markup {
  \with-color #white
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \filled-box #'(-.5 . .5) #'(-5.5 . 0) #0
}

staffOne = { 
  \clef "G_8"
  \cadenzaOn
  r2 b a a b1 \bar "||"
  \gap
  b2 c'4 d' e' b8[ c'] d'4. c'8 b1 \bar "||"
  \gap
  g4. a8 b4 c' d' c' a2 b1 \bar "|"
}

staffTwo = { 
  \clef "G_8"
  g2 g1 fis2 g1
  \gap
  g2 g1 fis2 g1
  \gap
  e'2 g'1 fis'2 g'1
}

staffThree = { 
  \clef F
  g1 c2 d g,1
  \gap
  g4. f8 e4 d c e4 d2 g,1
  \gap
  c2 g,4. a,8 b,4 c d2 g,1
}

\score {
  \new StaffGroup <<
    \new Staff 
    \with { instrumentName = \myFirstIncipit }
    \staffOne
    \new Staff 
    \with { instrumentName = \mySecondIncipit }
    \staffTwo
    \new Staff 
    \with { instrumentName = \myThirdIncipit }
    \staffThree
  >>
  \layout {
    \context {
      \Score
      \omit TimeSignature
      \override BarLine.kern = #9.7
      \remove "Mark_engraver" 
      \remove "Staff_collecting_engraver"
      %% optional :
      \omit BarNumber
    }
    \context {
      \Staff
      \override InstrumentName.padding = #-2
      \consists "Mark_engraver" 
      \consists "Staff_collecting_engraver"
    }
  }
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to