lilypond-user
[Top][All Lists]
Advanced

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

Re: \Paper syntax question


From: Jonathan Kulp
Subject: Re: \Paper syntax question
Date: Thu, 05 Feb 2009 12:46:16 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Padmavyuha wrote:
I'm struggling (as usual with new computer languages) with learning the syntax of the lilypond language.

I can't seem to find in the manuals or reference a clear explanation of how to set the left-margin value in a .ly file. The closest I got (or so I thought) was:

\paper { left-margin = 50\mm }

which is what the reference doc says, but it doesn't have any effect on the margin. There seem to be many different ways to trigger any particular variable, dependant on where you're putting it in the hierarchy, and I can't figure out how this one is supposed to work.

Help greatly appreciated...

- Padmavyuha


The left-margin adjustment works, but in the example you give it's a rather small increment. Try changing it to something like 3\cm and you'll see a big difference. If you're trying to make it go closer to the edge of the page, then you could add a horizontal-shift element to your paper block and adjust the value to your preference, like so:

\paper {
  horizontal-shift = -20
}


You can make it go right off the page with this if you want it to.  :)

HTH,

Jon
--
Jonathan Kulp
http://www.jonathankulp.com




reply via email to

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