[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: margins
From:       Shane Brandes <shane.brandes () gmail ! com>
Date:       2023-07-22 0:16:19
Message-ID: CADVPZqpHNhe1sE+wUeRzDxwa31kn7v5SAPN-ruCzuCQ0p2t4vw () mail ! gmail ! com
[Download RAW message or body]

Indeed I did.  And somehow that never occured to me.

Thanks,

Shane

On Fri, Jul 21, 2023, 5:23 PM Hans Aikema <hans.aikema@aikebah.net> wrote:

>
> On 21 Jul 2023, at 23:08, Shane Brandes <shane.brandes@gmail.com> wrote:
>
> Hi all,
>
> Today I was working on a project and I tried setting the top and bottom
> margins in the paperblock in the 2.24.0 version. Nothing changed so I ended
> up editing the paper-defaults-init.ly. That caused the change I wanted,
> but why isn't  the paper block part working? The side margins work just
> fine. It is odd and was a time waster finding a workaround. Any
> explanations?
>
> regards,
> Shane
>
>
> I suspect you set the paper-size AFTER the top-margin
>
> Working:
> { c' }
> \paper {
>     #(set-paper-size "a4")
>     top-margin = 60
> }
>
>
> Not working:
> { c' }
> \paper {
>     top-margin = 60
>     #(set-paper-size "a4")
> }
>
>

[Attachment #3 (text/html)]

<div dir="auto">Indeed I did.   And somehow that never occured to me.  <div \
dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div \
dir="auto">Shane</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, Jul 21, 2023, 5:23 PM Hans Aikema &lt;<a \
href="mailto:hans.aikema@aikebah.net">hans.aikema@aikebah.net</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
style="line-break:after-white-space"><div><div><br><blockquote type="cite"><div>On 21 \
Jul 2023, at 23:08, Shane Brandes &lt;<a href="mailto:shane.brandes@gmail.com" \
target="_blank" rel="noreferrer">shane.brandes@gmail.com</a>&gt; \
wrote:</div><br><div><div dir="ltr"><div>Hi all,</div><div><br></div><div>Today I was \
working on a project and I tried setting the top and bottom margins in the paperblock \
in the 2.24.0 version. Nothing changed so I ended up editing the <a \
href="http://paper-defaults-init.ly/" target="_blank" \
rel="noreferrer">paper-defaults-init.ly</a>. That caused the change I wanted, but why \
isn&#39;t   the paper block part working? The side margins work just fine. It is odd \
and was a time waster finding a workaround. Any explanations? \
<br></div><div><br></div><div>regards,</div><div>Shane<br></div></div> \
</div></blockquote></div><br></div><div>I suspect you set the paper-size AFTER the \
top-margin<div><br></div><div>Working:</div><div><div>{ c&#39; }</div><div>\paper \
{</div><div>      #(set-paper-size &quot;a4&quot;)</div><div>      top-margin = \
60</div><div>}</div></div><div><br></div><div><br></div><div>Not \
working:</div><div><div>{ c&#39; }</div><div>\paper {</div><div>      top-margin = \
60</div><div>      #(set-paper-size \
&quot;a4&quot;)</div><div>}</div></div></div><div><br></div></div></blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic