lilypond-devel
[Top][All Lists]
Advanced

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

Re: page break hack


From: Nicolas Sceaux
Subject: Re: page break hack
Date: Sat, 15 Oct 2005 13:14:05 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Sven Axelsson <address@hidden> writes:

> On 10/10/05, Han-Wen Nienhuys <address@hidden> wrote:
>>
>> Sven Axelsson wrote:
>> > Now I am trying to find the correct properties to tweak to ge the
>> > inserted score from the original code to take up zero vertical space,
>> > but I haven't gotten it right yet. Any hints?
>>
>> have a look at the new spacing features in 2.7.12 -
>> input/regression/page-spacing.ly <http://spacing.ly> ; you're looking for
>> Y-extent, I'd guess.
>
>
> No, that does no good. I can set Y-extent, next-space, and next-padding to
> zero as much as I like, but the score still takes up space.

Actually, the score takes no space. The title header (piece = " ") does.

\paper {
  annotatespacing = ##t
  raggedbottom = ##t
  raggedbottomlast = ##t
  systempadding = #1
}

{ c'4 }

\score {
  { 
    \overrideProperty
    #"Score.NonMusicalPaperColumn"
    #'line-break-system-details
    #'((next-padding . 0.0)
       (refpoint-Y-extent . (0.0 . 0.0))
       (next-space . 0.0)
       (Y-extent . (0.0 . 0.0)))
    s4 
  }
  \header { breakbefore = ##t piece = " " }
  \layout{
    \context {
      \Staff
      \remove Time_signature_engraver
      \remove Key_engraver
      \remove Clef_engraver
      \remove Staff_symbol_engraver
    }
  }
}
{ c'4 }




reply via email to

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