lilypond-user
[Top][All Lists]
Advanced

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

Re: \fill-line with markuplist?


From: David Kastrup
Subject: Re: \fill-line with markuplist?
Date: Mon, 08 Oct 2012 15:04:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

>> I honestly have no clue whether this is what you need, but it would seem
>> like
>>
>> \version "2.16.0"
>>
>> \markup \fill-line { \center-column
>>     \override-lines #'(line-width . 50)
>>       \justified-lines {
>>         Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
>>         do eiusmod tempor incididunt ut labore et dolore magna aliqua.
>>         Ut enim ad minim veniam, quis nostrud exercitation ullamco
>>         laboris nisi ut aliquip ex ea commodo consequat.
>>       } }
>>
>> does something akin to what you are asking for.

> I had the impression that using \markuplist instead of \markup would
> require the markuplist-commands listed in the NR:
> http://lilypond.org/doc/v2.16/Documentation/notation-big-page#text-markup-list-commands

No, it just requires using a markup list.  And { markup } is a markup
list.

> And for \table-of-contents the NR (same in /Snippets and the LSR)
> mentions nothing else than \markuplist to use.  It's always:
>
> \markuplist %!!
>   \table-of-contents
>
> But it turns out that following your suggestion
>
> \markup %!!
>     \fill-line {
>           \center-column {
>                   \override-lines #'(line-width . 50)
>                   \table-of-contents
>           }
> }
>
> works as expected.

\table-of-contents delivers a list, \center-column packages it (probably
you can leave out the braces after \center-column), \fill-line creates a
markup from it (I think).  It's possible that you can remove some more
layers here: I really don't have all too much of a clue.

-- 
David Kastrup



reply via email to

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