lilypond-user
[Top][All Lists]
Advanced

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

Re: Header


From: Simon Albrecht
Subject: Re: Header
Date: Tue, 26 Sep 2017 22:29:39 +0200

On 25.09.2017 20:37, Mario Moles wrote:

Hi lilyponders!

How to make like in tha jpg?


Hi Mario,

using the index to the Notation Reference I could find <http://lilypond.org/doc/v2.19/Documentation/notation/table-of-contents>. This shows that LilyPond allows for quite advanced use of automatic tables of content.

As mentioned, redefining evenHeaderMarkup and oddHeaderMarkup is another requirement for your use case.

However, in order to automatically produce a header like the LaTeX book classes do by default, one would need a way to insert markup corresponding to – the last \tocItem that occurred in the \book “before” (or “above”) the respective HeaderMarkup in print – disregarding \tocItems that don’t refer to “chapters” (whatever that may be) – and not print it if there is a \tocItem of the “chapter” type on that same page.
It doesn’t seem like there is such a mechanism in LilyPond – yet.

Best, Simon



reply via email to

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