Hi all,

I'm trying to decrease the line-width of my table-of-contents while still keeping it horizontally centered. How could this be achieved? Increasing the margins is not an option, as there's other stuff on the page as well that needs to be wider.

In my example below I'd like both of the horizontal lines to keep their width while having the ToC horizontally centered.

Thanks in advance
Aron Hanowski

---
%%% SNIPPET STARTS

\version "2.23.6"

\paper {  tocItemMarkup = \tocItemWithDotsMarkup }

\markup { \draw-hline }
\markuplist {
    \override #'(line-width . 60)
    \table-of-contents
}
\markup { \draw-hline }

\bookpart {
    \tocItem \markup {Score I}
    \score {
        \relative c' { c4 d e f}
    }
}
\bookpart {
    \tocItem \markup {Score II}
    \score {
        \relative c' { c4 d e f}
    }
}

%%% SNIPPET ENDS


Reply via email to