bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bug with raggedbotton and raggedlastbotton


From: Paul Scott
Subject: Re: Bug with raggedbotton and raggedlastbotton
Date: Sun, 24 Oct 2004 02:42:39 -0700
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

Jan Nieuwenhuizen wrote:

Paul Scott writes:

setting raggedlastbottom to #f will force LilyPond to consider
compressing the last page (in this case: the first page), thereby
putting the systems on one page.

Paul, can you confirm this?

From the names of the variables I would expect setting both of them
to true to give simple and minimal (old style) spacing

But that is not so.  The old spacing, done outside of LilyPond by TeX,
has been replaced.
My statement seems to be true for Jefferson's example (after reducing minimumVerticalExtent and for the one I am posting below.

The #raggedbottom and #raggedlastbottom variables
control the new page layout mechanism.
From these examples these variables operate backwards from their names in 2.3.22.

Paul


\version "2.3.22"
\include "../common21.ly"

\paper{
   raggedbottom = ##f
   raggedlastbottom = ##f
}

\header{
   title = "America the Beautiful"
   composer = "Music by Samuel A. Ward"
   poet = "Words by Katherine Lee Bates"
}

global = {
   \time 4/4 \partial 4 s4
   s1*16 \bar "|."
}

i = \relative c'' { g4 g4. e8 e4 g g4. d8 d4 }
melody = \relative c' {
   \key c \major
   \i e4 f g a b g2. \i d'4 cs d e a, d2. g,4
   e'4. e8 d4 c c4. b8 b4 c d b a g c2. c4
   c4. a8 a4 c c4. g8 g4 g a c g d' c2. r4
}
i = \relative c' { c4 c4. c8 c4 c b4. b8 b4 }
harmony = \relative c' {
   \key c \major
   \i b4 a d e f e e f \i b4 as b a fs g( fs f2)
   g4. g8 f4 e f4. g8 g4 a f g f d e( f g2)
   f1 e f2 f e2. r4
}
\layout {
   \context { \RemoveEmptyStaffContext }
}

\score {
   <<
       \set Score.skipBars = ##t
   \new StaffGroup <<
       \new Staff << \global \transpose bf c' \melody >>
       \new Staff << \transpose bf c' \harmony >>
   >>
   >>
}

(../common21.ly)
\version "2.3.22"
\include "english.ly"

#(set-default-paper-size "letter")
\paper{
   papersize = "letter"
   %hsize = 7.6\in
   %vsize = 11\in
   %leftmargin = 0.45\in
   %topmargin = 0.45\in
   %linewidth = 7.8\in
   indent = 0\in
   %betweensystemspace = 0.05\in
   %betweensystempadding = 0.1\in
   %footsep = .4\in
   %interscoreline = 10\pt
}

numberEveryBar = {
   \override Score.BarNumber #'break-visibility = #end-of-line-invisible
   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
}

cueOn = \set Staff.fontSize = #-1
cueOff = \unset Staff.fontSize





reply via email to

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