bug-lilypond
[Top][All Lists]
Advanced

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

top-spacing-markup incorrect behavior for top-level markup


From: Sharon Rosner
Subject: top-spacing-markup incorrect behavior for top-level markup
Date: Tue, 15 Mar 2016 10:00:41 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

When using top-spacing-markup and mixing both scores with title markup and 
arbitrary top-level markup, lilypond positions markup at the top of the page in 
an inconsistent manner.

For score title markup, lilypond will consider the top-markup-spacing setting 
as the distance between the top-margin and the _top_ of the markup. For 
top-level markup, lilypond will consider the top-markup-spacing setting as the 
distance between the top-margin and the _baseline_ of the markup.

The following example demonstrates the inconsistent behaviour (notice the 
difference in positioning of the titles on the two pages):

\paper {
  annotate-spacing = ##t
  ragged-bottom = ##t

  top-markup-spacing #'basic-distance = 10
  top-markup-spacing #'minimum-distance = 10
  top-markup-spacing #'padding = 0 % negative padding to ignore skyline
  top-markup-spacing #'stretchability = 0 % fixed position
}

\score {
  \header {
    piece = \markup "1 - Hey"
  }
  R1*3
}

\pageBreak
\markup "2 - Hey"


Thanks
Sharon Rosner




reply via email to

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