Hi Andrea,

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


> I have a series of short scores that I need to print all in a row, tight to
> each other but with a little white space in between, more or less like
> this:
>
> <
> http://lilypond.1069038.n5.nabble.com/file/n168064/2014-10-29-165843_1024x600_scrot.png
> >
>

See enclosed files,
HTH,
Pierre
\version "2.18.2"
#(set-global-staff-size 19)
\pointAndClickOff
\include "myFirstScore.ly"
\include "mySecondScore.ly"
\include "myThirdScore.ly"

\markup\concat {
  \myFirstScore
  \hspace #1
  \mySecondScore
  \hspace #1
  \myThirdScore
}

Attachment: myFinalScore.pdf
Description: Adobe PDF document

\version "2.18.2"
\include "myIncipits.ly"

myFirstScore = \markup 
\score {
  \new StaffGroup <<
    \new Staff 
    \with { instrumentName = \myFirstIncipit }
    { 
      \clef "G_8"
      \cadenzaOn
      r2 b a a b1 \bar "|"
    }
    \new Staff 
    \with { instrumentName = \mySecondIncipit }
    { 
      \clef "G_8"
      g2 g1 fis2 g1
    }
    \new Staff 
    \with { instrumentName = \myThirdIncipit }
    { 
      \clef F
      g1 c2 d g,1
    }
  >>
  \layout {
    \context {
      \Score
      \omit TimeSignature
    }
    \context {
      \StaffGroup
      \override StaffGrouper.staff-staff-spacing.basic-distance = #10
    }
    \context {
      \Staff
      \override InstrumentName.padding = #-2
    }
  }
}
\version "2.18.2"

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

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

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

mySecondScore = \markup 
\score {
  \new StaffGroup <<
    \new Staff { 
      \clef "G_8"
      \cadenzaOn
      b2 c'4 d' e' b8[ c'] d'4. c'8 b1 \bar "|"
    }
    \new Staff { 
      \clef "G_8"
      g2 g1 fis2 g1
    }
    \new Staff { 
      \clef F
      g4. f8 e4 d c e4 d2 g,1
    }
  >>
  \layout {
    indent = 0
    \context {
      \Score
      \omit TimeSignature
      \omit Clef
      \omit ClefModifier
    }
    \context {
      \StaffGroup
      \remove "System_start_delimiter_engraver"
      \override StaffGrouper.staff-staff-spacing.basic-distance = #10
    }
    \context {
      \Staff
      \override InstrumentName.padding = #-2
    }
  }
}
\version "2.18.2"

myThirdScore = \markup 
\score {
  \new StaffGroup <<
    \new Staff { 
      \clef "G_8"
      \cadenzaOn
      g4. a8 b4 c' d' c' a2 b1 \bar "|"
    }
    \new Staff { 
      \clef "G_8"
      e'2 g'1 fis'2 g'1
    }
    \new Staff { 
      \clef F
      c2 g,4. a,8 b,4 c d2 g,1
    }
  >>
  \layout {
    indent = 0
    \context {
      \Score
      \omit TimeSignature
      \omit Clef
      \omit ClefModifier
    }
    \context {
      \StaffGroup
      \remove "System_start_delimiter_engraver"
      \override StaffGrouper.staff-staff-spacing.basic-distance = #10
    }
    \context {
      \Staff
      \override InstrumentName.padding = #-2
    }
  }
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to