lilypond-user
[Top][All Lists]
Advanced

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

\consists style question


From: Menu Jacques
Subject: \consists style question
Date: Tue, 7 Mar 2017 15:21:48 +0100

Hello folks,

In the snippet below, two identical scores are produced using different coding 
styles as to where the \consists commands are placed.

Is one of the latter to be preferred?

Thanks you help!

JM

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

\version "2.19.44"

musicI = {
  <e' g>4\arpeggio <d f> <d f>2
}
musicII = {
  <d, f>2\arpeggio <g b>2
}

\score {
  <<
    \new Staff \with {
      \consists "Span_arpeggio_engraver"
    }
    \relative c' {
      \set Staff.connectArpeggios = ##t
      <<
        { \musicI }
        \\
        { \musicII }
      >>
    }
  >>
}



\score {
  <<
    \new Staff <<
      \relative c' {
        \set Staff.connectArpeggios = ##t
        <<
          { \musicI }
          \\
          { \musicII }
        >>
      }
    >>
  >>

  \layout {
    \context {
      \Staff
      \consists "Span_arpeggio_engraver"
    }
  }
}


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




reply via email to

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