lilypond-user
[Top][All Lists]
Advanced

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

Re: Re:getting musical examples to an exact textwidth with a style file


From: Kevin Patrick Barry
Subject: Re: Re:getting musical examples to an exact textwidth with a style file
Date: Sun, 4 Aug 2013 23:51:20 +0100

If you put the examples inside a \book block, you can specify system spacing with normal lilypond commands, and the images are kept together on the page.

I tried that and ended up with a full page example instead of a cropped system.  Does using \book mean I have to manually set the page size to the size of the example?

For example, the following fairly minimal example compiled to a pdf of 3 pages, even though it is only a single note.  I can add a \paper block but it's not immediately obvious how to crop the whole example.

\documentclass{article}
\begin{document}
\begin{lilypond}
\book {
  \score {
    \new Staff {
      \relative f { c'1 }
    }
  }
}
\end{lilypond}
\end{document}

reply via email to

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