lilypond-user
[Top][All Lists]
Advanced

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

Re: The space between "\score"s


From: Ben
Subject: Re: The space between "\score"s
Date: Fri, 17 Nov 2017 10:20:33 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 11/17/2017 9:39 AM, Louis Guillaume wrote:

Hello,

Yes when you uncomment out those measures I see what you mean.
You have a few options.

If you really want to compact, just add ragged-last-bottom = ##f to the paper block and it looks nice and tidy together :)

You are using multiple scores in the same file, so that is something to consider...that's why.
(see attached)

Does this work for you? Or did you want it even tighter?

\paper
{
     top-markup-spacing = #'((basic-distance . 0) (padding . 13) (stretchability . 0) (minimum-distance . 0))
     nonstaff-relatedstaff-spacing = #'((basic-distance . 0) (padding . 8) (stretchability . 0) (minimum-distance . 0))
     markup-system-spacing = #'((basic-distance . 0) (padding . 5) (stretchability . 0) (minimum-distance . 0))
     system-system-spacing = #'((basic-distance . 0) (padding . 3) (stretchability . 0) (minimum-distance . 0))
     two-sided = ##t
     top-margin = 8
     bottom-margin = 5
     outer-margin = 13
     inner-margin = 13
*ragged-last-bottom = ##f*
}


Thanks for that Ben,

It seems though that disabling "ragged-last-bottom" as you suggest divides the music evenly between the pages - but the "Coda" score still ends up near the bottom of the second page (when there is a second page). This is not preferable... I would rather see the main score look like it "normally" does (with "ragged-last-bottom = ##t").

So the questions remain:

1. Why the giant gap between scores when the music goes to a second page? - (this happens regardless of how ragged-last-bottom is set)

2. Is there a way to control that gap?

Thanks again for looking!

Louis


Hi,

I believe you could just explicitly put a bookpart around each and then get the exact spacing layout you want.
(see attached)

I just threw this together quickly using a copy and paste so it's not pretty but it should work to get you going :)

Also, I commented out:
top-markup-spacing = #'((basic-distance . 0) (padding . 13) (stretchability . 0) (minimum-distance . 0))

In order to show you how to configure that coda spacing exactly how you want it. Does this help?
It has the coda up top of page 2, and you can now move it wherever you wish easier.

%%%%%%
#(set-default-paper-size "letter")
\paper
{
   % top-markup-spacing = #'((basic-distance . 0) (padding . 13) (stretchability . 0) (minimum-distance . 0))
    nonstaff-relatedstaff-spacing = #'((basic-distance . 0) (padding . 8) (stretchability . 0) (minimum-distance . 0))
    markup-system-spacing = #'((basic-distance . 0) (padding . 5) (stretchability . 0) (minimum-distance . 0))
    system-system-spacing = #'((basic-distance . 0) (padding . 3) (stretchability . 0) (minimum-distance . 0))
    two-sided = ##t
    top-margin = 8
    bottom-margin = 5
    outer-margin = 13
    inner-margin = 13
    ragged-bottom = ##f
}


\bookpart {
 
  \header
{
    title = "MULTISCORE TEST"
    instrument = \markup \small
    {
          "Violin or Flute"
    }
    composer = \markup \column \small
    {
          \right-align {"Composer" }
          \right-align {"Arranger" }
    }
    tagline = ""
}
 
  \score {
    \new Staff
    {
        \relative c''
        {
            \set Staff.midiInstrument = #"violin"
            \time 4/4
            \numericTimeSignature

            c1 c c c
            c c c cis
            d dis e2 f fis f

            c1 c c c
            c c c cis
            d dis e2 f fis f

            c1 c c c
            c c c cis
            d dis e2 f fis f

            c1 c c c
            c c c cis
            d dis e2 f fis f
          
            c1 c c c
            c c c cis
            d dis e2 f fis f

            c1 c c c
            c c c cis
            d dis e2 f fis f
          
            c1 c c c
            c c c cis
            d dis e2 f fis f
      
            c1 c c c
            c c c cis
            d dis e2 f fis f

            c1 c c c
            c c c cis
            d dis e2 f fis f
          
             c1 c c c
           c c c cis
            d dis e2 f fis f

             c1 c c c
             c c c cis
             d dis e2 f fis f
           
             c1 c c c
             c c c cis
             d dis e2 f fis f

            \bar "|."

        }

    }

    \layout { }

}
   
   
     
}
\bookpart {
 
  \score
{
   
    \new Staff
    {
        \mark \markup { "CODA " \musicglyph #"scripts.coda"}
        \relative c''
        {
            c1 c
            \bar "|."
        }

    }

    \layout
    {
        indent = 55
    }
}



 
}

\version "2.18.2"  % necessary for upgrading to future LilyPond versions.

Attachment: coda 2 pages.png
Description: PNG image


reply via email to

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