lilypond-user
[Top][All Lists]
Advanced

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

Re: Small example images?


From: D Josiah Boothby
Subject: Re: Small example images?
Date: Mon, 29 Nov 2004 17:49:48 -0800 (PST)

How can I make lilypond output an image file just large enough to
hold the music?

You could set the papersize, line length, and margins as described in section 7.5 (for 2.4.x, but section 4.6 for v. 2.2.x) of the manual, especially if you want the high resolution of a .ps or .pdf.

If you try at the command line something like this:

$ lilypond --png --preview --no-page example.ly

you will get a file called example.preview.png which is just the picture without the entire page, but this would probably be a bit problematic for longer examples since the preview only shows the title and first system of the score.

So, probably the best way is to decide what size you want your example to be and just create set your papersize, linelength, and margins.

Josiah




reply via email to

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