lilypond-user
[Top][All Lists]
Advanced

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

Re: A bunch of problems at score part changeover


From: Klaus Blum
Subject: Re: A bunch of problems at score part changeover
Date: Thu, 18 Jun 2015 03:37:44 -0700 (MST)

Hi Kaj, 

Here's how I would try it:

% --------------------------------------------------------------

\version "2.18.2"

\paper { ragged-right = ##t }

\defineBarLine "||-" #'("||" ".|:" ".|:")  % End / Start / Middle of line

vA = \relative c' {
  \repeat volta 2 { c4 c c c }
  \alternative {
    { d4 d d d }
    { e4 e e <e g>~ }
  }
}

vAII = \relative c' {
  \repeat volta 2 { s1 }
  \alternative {
    { s1 }
    { s1 }
  }
}

vB = \relative g' {
  % (1)
  \repeat volta 2 { <e g>4 a a a }
}

vBII = \relative g' {
  % (1)
  \repeat volta 2 { c4 c c c }
}

newKey = \key g \major

noSig = \override Staff.TimeSignature #'stencil = ##f

\score {
  \new ChoirStaff {
    <<
      \new Staff {
        \vA
        \break
        \newKey \vB
      }
      \new Staff {
        \vAII
        \break
        \newKey \vBII
      }
    >>
  }

  \layout {
    indent = #0
    \context {
      \Staff \RemoveEmptyStaves
      \override VerticalAxisGroup.remove-first = ##t
    }
    \context {
      \Score
      startRepeatType = #"||-"
    }
  }
}

% --------------------------------------------------------------

Just saw Marc's post. I didn't know the ".|:-||" barline type.
If you use
    startRepeatType = #".|:-||" 
you can omit the \defineBarLine command.

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/A-bunch-of-problems-at-score-part-changeover-tp177962p177966.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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