Hello Aron, usually centering markups can be done like this:
%%% SNIPPET STARTS \version "2.23.6" \paper { tocItemMarkup = \tocItemWithDotsMarkup } \markup { \draw-hline } \markup \fill-line { \override #'(line-width . 60) \column \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 Am Sonntag, 13. März 2022, 11:05:01 CET schrieb Aron Hanowski: > 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
signature.asc
Description: This is a digitally signed message part.