lilypond-user
[Top][All Lists]
Advanced

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

lilypond-book and \betweenLilyPondSystem


From: Kevin Barry
Subject: lilypond-book and \betweenLilyPondSystem
Date: Tue, 7 Apr 2015 13:31:30 +0100

Dear All,

By default, the distance between the header and the first system of a score is less than the distance between systems (I think the basic distance for the former is 5 staff spaces, and 12 for the latter). Is there any way to get lilypond-book to mimic this behaviour? There seems to be only one variable for controlling the distance between systems (\betweenLilyPondSystem) that is also called in between the header and the first system.

I can understand that in a full score the extra space isn't that important, but in a text document with musical examples the space sometimes looks terrible. An example of what I mean is pasted below.

\documentclass{article}
\newcommand{\betweenLilyPondSystem}[1]{\vspace{2em plus0pt minus12pt}\linebreak}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{figure}[!h]
  \begin{lilypond}
    music = \repeat unfold 50 b
    \header { composer = "composer" }
    << \new Staff \music \new Staff \music >>
  \end{lilypond}
\end{figure}
\end{document}

Apart from solutions to this problem I would also like to hear what settings people use for \betweenLilyPondSystem. This thorny issue is one of the reasons I mostly don't use lilypond-book.

Thanks in advance,
Kevin

reply via email to

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