lilypond-user
[Top][All Lists]
Advanced

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

New table of contents formatting


From: Timothy Lanfear
Subject: New table of contents formatting
Date: Sat, 22 Aug 2020 19:48:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

In NR 3.2.6 (version 2.21.5) a new formatting for the table of contents is described. The documentation suggests the formatting, which defaults of bold, will only be applied in the case of a hierarchical table of contents, whereas the bold formatting is applied also for a flat table of contents. The previous behaviour can be restored by adding tocFormatMarkup = #make-normal-text-markup. I am unsure if the documentation is unclear or the new behaviour is not as intended.

tocFormatMarkup

How the table’s top level entries will be formatted (if there are several hierarchical levels). This is actually a procedure, as explained in Markup construction in Scheme.

\version "2.21.2"

%{
\paper {
  tocFormatMarkup = #make-normal-text-markup
}
%}

\markuplist { \table-of-contents }

\tocItem \markup "Score A"
\score { { a'1 } }

\tocItem \markup "Score B"
\score { { b'1 }}



--
Timothy Lanfear, Bristol, UK.




reply via email to

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