[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:Page breaking question
From: |
wjm |
Subject: |
Re:Page breaking question |
Date: |
Wed, 16 May 2012 21:01:14 +1200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Greetings Jay,
You wrote:-
+++++++++++++++++++++++++++++++++++
I'm setting a group of hymns and I'm using the page turn breaker.
Often two hymns are set on facing pages with the second hymn being
broken over the page. If the second would fit on a page by itself I'd
prefer it to not be broken up and just leave some empty space at the
bottom of each page. Is this possible with any of the current breaking
algorithms? Below is an example of what I'd like to accomplish. I'd
like each score to be on a page of its own.
-----Jay
\version "2.15.35"
\paper
{
page-breaking = #ly:page-turn-breaking
paper-height = 9\in
paper-width = 6\in
ragged-bottom = ##t
ragged-last-bottom = ##t
}
\header
{
tagline = ##f
}
music = { \repeat unfold 38 c'1 \bar "|." }
staves = \new StaffGroup
<<
\new Staff \music
\new Staff \music
>>
\score { \staves }
\score { \staves }
\score { \staves }
+++++++++++++++++++++++++++++++++++
Taking on board your last statement "I'd like each score to be on a page
of its own." Try
\score { \staves }\pageTurn
\score { \staves }\pageTurn
\score { \staves }
and remove page-breaking = #ly:page-turn-breaking from the paper block.
Hope this helps
Regards
Bill