[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: \fill-with-pattern does not center when line-width is overridden?
From: Thomas Morley <thomasmorley65 () gmail ! com>
Date: 2015-10-28 23:38:38
Message-ID: CABsfGyV5tXxUGUSVMUkrBuG1s8C_R=efPWiZ2we7JmDimyJL9g () mail ! gmail ! com
[Download RAW message or body]
2015-10-28 23:41 GMT+01:00 Federico Bruni <fede@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic