#include "minimal-page-breaking.hh"
LY_DEFINE (ly_page_turn_breaking, "ly:page-turn-breaking",
- 1, 0, 0, (SCM pb),
- "Optimally break (pages and lines) the @code{Paper_book} object"
- " @var{pb} such that page turns only happen in specified places,"
- " returning its pages.")
+ 1, 0, 0, (SCM pb),
+ "Optimally break (pages and lines) the @code{Paper_book} object"
+ " @var{pb} such that page turns only happen in specified places,"
+ " returning its pages.")
{
Page_turn_page_breaking b (unsmob_paper_book (pb));
return b.solve ();
}
LY_DEFINE (ly_optimal_breaking, "ly:optimal-breaking",
- 1, 0, 0, (SCM pb),
- "Optimally break (pages and lines) the @code{Paper_book} object"
- " @var{pb} to minimize badness in bother vertical and horizontal"
- " spacing.")
+ 1, 0, 0, (SCM pb),
+ "Optimally break (pages and lines) the @code{Paper_book} object"
+ " @var{pb} to minimize badness in bother vertical and horizontal"
+ " spacing.")
{
Optimal_page_breaking b (unsmob_paper_book (pb));
return b.solve ();
}
LY_DEFINE (ly_minimal_breaking, "ly:minimal-breaking",
- 1, 0, 0, (SCM pb),
- "Break (pages and lines) the @code{Paper_book} object @var{pb}"
- " without looking for optimal spacing: stack as many lines on"
- " a page before moving to the next one.")
+ 1, 0, 0, (SCM pb),
+ "Break (pages and lines) the @code{Paper_book} object @var{pb}"
+ " without looking for optimal spacing: stack as many lines on"
+ " a page before moving to the next one.")
{
Minimal_page_breaking b (unsmob_paper_book (pb));
return b.solve ();