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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user