[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Can I \markup \concat more than one file in a row?
From:       Pierre Perol-Schneider <pierre.schneider.paris () gmail ! com>
Date:       2014-10-29 14:03:11
Message-ID: CAPHOTuWwR0PNGJMuM5AKCQ0ceDr69qYDtgx31_1ALuycbdQWaw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Andrea,

2014-10-29 13:08 GMT+01:00 Jayaratna <jayaratna@gmail.com>:


> 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

[Attachment #5 (text/html)]

<div dir="ltr">Hi Andrea,<br><div><div class="gmail_extra"><br><div \
class="gmail_quote">2014-10-29 13:08 GMT+01:00 Jayaratna <span dir="ltr">&lt;<a \
href="mailto:jayaratna@gmail.com" \
target="_blank">jayaratna@gmail.com</a>&gt;</span>:<br><div>  <br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> I have a series of short scores that I need to print all in \
a row, tight to<br> each other but with a little white space in between, more or less \
like this:<br> <br>
&lt;<a href="http://lilypond.1069038.n5.nabble.com/file/n168064/2014-10-29-165843_1024x600_scrot.png" \
target="_blank">http://lilypond.1069038.n5.nabble.com/file/n168064/2014-10-29-165843_1024x600_scrot.png</a>&gt;<br></blockquote><div><br></div><div>See \
enclosed files,<br></div><div>HTH,<br></div><div>Pierre<br> \
</div></div><br></div></div></div>

--001a113a5a9a6a5946050690390d--


["myFinalScore.ly" (text/lilypond-source)]

\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
}

["myFinalScore.pdf" (application/pdf)]
["myFirstScore.ly" (text/lilypond-source)]

\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
    }
  }
}
["myIncipits.ly" (text/lilypond-source)]

\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
    }
  }
}
["mySecondScore.ly" (text/lilypond-source)]

\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
    }
  }
}
["myThirdScore.ly" (text/lilypond-source)]

\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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic