lilypond-user
[Top][All Lists]
Advanced

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

Re: Creating cut-away or scrapbook scores in LilyPond


From: Klaus Blum
Subject: Re: Creating cut-away or scrapbook scores in LilyPond
Date: Wed, 3 Jun 2015 14:12:04 -0700 (MST)

Hi Abraham, 

whether or not this type of score makes sense... here is what I've got so
far:

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

\version "2.18.2"

sortClef = {
  \override Score.BreakAlignment #'break-align-orders =
  #'  #((left-edge   cue-end-clef   breathing-sign   staff-bar   clef
          cue-clef   key-cancellation   key-signature   ambitus
          time-signature   custos)
        (left-edge   staff-bar   cue-end-clef   breathing-sign    clef
          cue-clef   key-cancellation   key-signature   ambitus
          time-signature   custos)
        (left-edge   breathing-sign   staff-bar   clef   key-cancellation
          key-signature   ambitus   time-signature   cue-clef   custos))
  % \once \override Score.Clef.break-visibility = #'#(#f #t #t)
}

fluteMusicII = {
  \clef treble
  R1*4
}

bassoonMusicII = {
  \clef bass
  R1
  \override Staff.BarLine.allow-span-bar = ##f
  R1*3
}

violinIMusicI = {
  \clef treble
  R1*4
}

violinIIMusicI = {
  \clef treble
  R1*4
}

violaMusicI = {
  \clef alto
  R1*4
}

violoncelloMusicI = {
  \clef bass
  R1*4
}

violinIMusicII = {
  \clef treble
  R1*4
}

violinIIMusicII = {
  \clef treble
  R1*4
}

violaMusicII = {
  \clef alto
  R1*4
}

violoncelloMusicII = {
  \clef bass
  R1*4
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\score {
  <<
    \new StaffGroup <<
      \new Staff = "violinIStaff" \with {
        instrumentName = "Violin I"
        shortInstrumentName = "Vln. I"
      }
      {
        \violinIMusicI
        \violinIMusicII
      }
      \new Staff \with {
        instrumentName = "Violin II"
        shortInstrumentName = "Vln. II"
      }
      {
        \violinIIMusicI
        \violinIIMusicII
      }
      \new Staff \with {
        instrumentName = "Viola"
        shortInstrumentName = "Vla."
      }
      {
        \violaMusicI
        \violaMusicII
      }
      \new Staff \with {
        instrumentName = "Violoncello"
        shortInstrumentName = "Vlc."
      }
      {
        \violoncelloMusicI
        \violoncelloMusicII
      }
    >>
    {
      \skip 1*4 % Strange: the more time is skipped here, the more the
instrument names are moved to the left
      \once \override Staff.BarLine.allow-span-bar = ##t
      % unfortunately, "once" doesn't work here, hence the addition in the
bassoon part
      \sortClef
      \once \override Score.Clef.full-size-change = ##t
      \new StaffGroup \with {
        alignAboveContext = #"violinIStaff"
      }
      <<
        \new Staff \with {
          instrumentName = "Flute"
          shortInstrumentName = "Flt."
        }
        \fluteMusicII
        \new Staff \with {
          instrumentName = "Bassoon"
          shortInstrumentName = "Bsn."
        } \bassoonMusicII
      >>
    }
  >>
  \layout {}
}

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

I've added some comments in the score.
One problem that I couldn't solve: The more beats are skipped until the
woodwinds begin, the more the instrument names move to the left. Can anyone
help?

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Creating-cut-away-or-scrapbook-scores-in-LilyPond-tp177436p177459.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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