Home » Questions » Computers [ Ask a new question ]

Lilypond: Is there a way to auto-crop the paper

Lilypond: Is there a way to auto-crop the paper

In Lilypond the paper size can be set to A4, A5, Letter and so forth. However I have only a short song, and I want to embed it lateron. Therefore the output from Lilypond must be cropped somehow.

Asked by: Guest | Views: 47
Total answers/comments: 2
Guest [Entry]

"If you want only the first system, you can use the -dpreview command-line option.
If you want multiple systems:

\include ""lilypond-book-preamble.ly""

\paper { oddFooterMarkup = ##f }
Have ImageMagick convert autocrop it with the -trim option, e.g. via a shell script."
Guest [Entry]

"From the Lilypond manual:

Extra sizes may be added by editing
the definition for paper-alist in the
initialization file scm/paper.scm.

You can therefore add your own page sizes to the default ones."