Hi David, The .tex file contains the following (a snippet of), The idea about it being where a new paragraph or line starts seems to make sense as the added space seems to be about 1em.
\vspace{-0em}\Ssubsection{Scale}\vspace{-0em} {% \parindent 0pt \noindent \ifx\preLilyPondExample \undefined \else \expandafter\preLilyPondExample \fi \def\lilypondbook{}% \input{ce/lily-6d98c8ee-systems.tex} \ifx\postLilyPondExample \undefined \else \expandafter\postLilyPondExample \fi } \vspace{-0.8em}\Ssubsection{Thirds}\vspace{-0em} {% \parindent 0pt \noindent \ifx\preLilyPondExample \undefined \else \expandafter\preLilyPondExample \fi \def\lilypondbook{}% \input{ec/lily-01f558b3-systems.tex} \ifx\postLilyPondExample \undefined \else \expandafter\postLilyPondExample \fi } \vspace{-0.8em}\Ssubsection{Fourths}\vspace{-0em} {% \parindent 0pt \noindent \ifx\preLilyPondExample \undefined \else \expandafter\preLilyPondExample \fi \def\lilypondbook{}% \input{75/lily-95458ceb-systems.tex} \ifx\postLilyPondExample \undefined \else \expandafter\postLilyPondExample \fi } \vspace{-0.8em}\Ssubsection{Fifths}\vspace{-0em} {% \parindent 0pt \noindent \ifx\preLilyPondExample \undefined \else \expandafter\preLilyPondExample \fi \def\lilypondbook{}% \input{2f/lily-cee1d442-systems.tex} \ifx\postLilyPondExample \undefined \else \expandafter\postLilyPondExample \fi } \vspace{-0.8em}\Ssubsection{Sixths}\vspace{-0em} {% \parindent 0pt \noindent \ifx\preLilyPondExample \undefined \else \expandafter\preLilyPondExample \fi \def\lilypondbook{}% \input{05/lily-bdd1bc6c-systems.tex} \ifx\postLilyPondExample \undefined \else \expandafter\postLilyPondExample \fi } On Thu, 21 May 2020 at 19:56, David Wright <lily...@lionunicorn.co.uk> wrote: > > On Thu 21 May 2020 at 18:40:53 (+0100), Robert Hickman wrote: > > > > I'm helping my partner create a book of interval exercises, and I'm > > getting very inconsistent vertical spacing coming from lilypond-book, > > here is an example: > > > > https://files.robehickman.com/problem.pdf > > > > Weird thing is that this is very inconsistent between pages, and I > > have verified there is no excess space in the music images. LaTeX > > seems to be stretching white space erratically. > > No idea what's in your .tex file. Perhaps the larger spaces are where > LaTeX thinks a new paragraph starts. The mere presence or absence of > blank lines between the figures can affect/control that. > > Cheers, > David. >