lilypond-user
[Top][All Lists]
Advanced

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

Re: Re; Margins- example


From: David Nalesnik
Subject: Re: Re; Margins- example
Date: Sat, 30 Jun 2012 06:21:10 -0500

Hi Jay,

On Fri, Jun 29, 2012 at 11:17 PM, wjm <address@hidden> wrote:
On 30/06/12 15:45, Jay Hamilton wrote:
I actually tried a \paper block and to no avail so that's why I'm stumped.
  I tried it in layout and outside in its' own block nada.
I'll reread the section you suggest but there's just something askew...
Thanks for responding.
Jay


On Fri, Jun 29, 2012 at 4:56 PM, wjm <address@hidden> wrote:

Hi Jay,
I think you need to set a \paper section to contain your page margins bits.
The NR says

"The \paper variables that can appear in a \layout block are:
line-width, ragged-right and ragged-last (see \paper variables for widths
and margins)
indent and short-indent (see \paper variables for shifts and indents)
system-count (see \paper variables for line breaking)"

A good read of Section 4.1 of the Notation Reference shows what goes
where...
Hope this helps
Regards
Bill



Hi Jay,
Try placing the following immediately after the line
#(ly:set-option 'delete-intermediate-files #t)
in your file.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#(set-default-paper-size "letter" 'landscape)

#(set-global-staff-size 16)
%{
This set to 16, rather than 20, since 20 gives a compilation error about being unable to fit music on the page - compressing music to fit.
Probably because you have so many instruments :)
%}

\paper
{
indent = 30 %these are, by default, mm
short-indent = 25
%left-margin = 30
right-margin = 20
top-margine = 10
bottom-margin = 10
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Adjust values to suit.

Also, move the \layout block outside the \score block and delete 'all' its content

Hope this helps/works!

Also note that you've misspelled "top-margin".

-David 

reply via email to

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