2015-10-28 23:41 GMT+01:00 Federico Bruni <f...@inventati.org>:
> Hello LilyPonders
>
> I want to reduce the distance between the tocItem text and its page number
> while keeping the list *centered on the page*.
> I tried the following but the list is left-aligned:
>
>
> \version "2.19.29"

\paper {
 tocItemMarkup =
   \markup
     \large
     \fill-line { %% <====
       \override #'(line-width . 80)
       \fill-with-pattern #1 #CENTER .
         \fromproperty #'toc:text
         \fromproperty #'toc:page
     }
}


>
> \markuplist \table-of-contents
>
> {
>  \tocItem \markup "Piece 1"
>  \tocItem \markup "Piece 2"
>  \tocItem \markup "Piece 3"
>  \repeat unfold 20 g'1
> }

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to