lilypond-user
[Top][All Lists]
Advanced

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

Re: exact dimenions of pdf/png


From: David Kastrup
Subject: Re: exact dimenions of pdf/png
Date: Mon, 29 Oct 2012 18:04:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Peter Van Kranenburg <address@hidden> writes:

> Dear all,
>
> I have to provide a bitmapped image to a publisher:
> 1200dpi, width: 11cm. It only contains one system.
>
> This implies a width of (11.0/2.54)*1200.0 = 5196 pixels.
>
> I followed the directions from the 'usage' manual, and I put this on
> top of my source file.
>
> \paper{
>   indent=0\mm
>   line-width=110\mm
>   oddFooterMarkup=##f
>   oddHeaderMarkup=##f
>   bookTitleMarkup = ##f
>   scoreTitleMarkup = ##f
>   ragged-right = ##f
>   ragged-last = ##f
> }
>
> However. The resulting pdf has a width of 11.19 cm, and the png a
> width of 5283 pixels, which is too large.
>
> I tried to add:
>
>   left-margin=0\mm
>   right-margin=0\mm
>   paper-width=110\mm
>   check-consistency=##t
>
> Then I get a width of 11.15 cm.
>
> How can I set the with of resulting pdf at exactly 11.0 cm?

Try setting the paper-width variable.

-- 
David Kastrup




reply via email to

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