lilypond-user
[Top][All Lists]
Advanced

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

Re: command: ragged-last-bottom=##f


From: Spela Kermelj
Subject: Re: command: ragged-last-bottom=##f
Date: Sat, 14 Aug 2010 21:43:25 +0200

Thanks, I would have never found this solution myself...
However, there's a typo in the manual, section "Selected snippets", examples 2 and 4, should be

 \ifnum#1<...

instead of

\ifnum##1<...

So, my solution is as follows:

\def\betweenLilyPondSystem#1{
  \ifnum#1<4 \linebreak \vfill \else\fi
}

This adds extra vertical space after systems 1,2,3 in a lilypond snippet with 4 systems, making it fit nicely on a page.


Spela





2010/8/14 Dmytro O. Redchuk <address@hidden>
On Sat 14 Aug 2010, 08:21 Spela wrote:
> I have some trouble using command:
>
> \paper {
>      ragged-last-bottom=##f
> }
>
>
> when I insert that command in a lilypond file it works ok, but when I try using
> the same file in lilypond-book it does not work. How can I controle spacing
> between staff in lilypond-book?
Please take a look at http://lilypond.org/doc/v2.13/Documentation/usage/latex
(particularly, "Selected Snippets") --- there is a \betweenLilyPondSystem
command and examples.

So, every system is a separate "image" for LaTeX, and it's a LaTeX's property
to deal with spacings.

\betweenLilyPondSystem exactly for that purpose.

--
 Dmytro O. Redchuk
 Bug Squad


reply via email to

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