Hi, Urs!

On Wed, Apr 5, 2017 at 7:02 AM, Urs Liska [via Lilypond] <
ml-node+s1069038n201957...@n5.nabble.com> wrote:

> Hi,
>
> naively I expected this to have the title (one line) start 16 mm into
> the page and the first system at 26mm.
>
>   top-margin = 16\mm
>   top-markup-spacing =
>   #'((basic-distance . 0)
>      (stretchability . 0))
>   top-system-spacing =
>   #`((basic-distance . ,#{ 10 \mm #})
>      (stretchability . 0))
>
> But while the title thing seems reasonably accurate the top of the first
> system sits at 28.3 mm.
>
> Am I missing something?
>

Because you know there is the title markup first, try setting
markup-system-spacing instead of top-system-spacing. top-system-spacing is
only effective if there isn't a markup between the first system and the
top-margin. Likewise, top-markup-spacing is only effective when there isn't
a system between the first markup and the top-margin (such as when you end
one piece and have a score title between it and the next one).

The attached diagram might be helpful for understanding vertical spacing
variables.

HTH,
Abraham


vertical-spacing-paper-variables.pdf (88K) 
<http://lilypond.1069038.n5.nabble.com/attachment/201961/0/vertical-spacing-paper-variables.pdf>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/vertical-distance-variables-tp201957p201961.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to