lilypond-user
[Top][All Lists]
Advanced

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

Re: Black borders with table using \markuplist and please center


From: Adam Good
Subject: Re: Black borders with table using \markuplist and please center
Date: Sun, 21 Feb 2021 15:02:18 -0500

Harm thank you very much! I feel centered.

If anyone could come up with a solution for borders it would be a nice option.

best,
Adam

On Sun, Feb 21, 2021 at 11:57 AM Thomas Morley <thomasmorley65@gmail.com> wrote:
Am So., 21. Feb. 2021 um 17:24 Uhr schrieb Adam Good <goodadamgood@gmail.com>:
>
> Hi Everyone,
> I can make this pretty little table, see below but could someone please help me add borders / gridlines around the cells? And, I'd like to be able to center the table to the middle of the page.
>
> Thank you in advance!
> Adam
>
> %%%
> \markuplist {
>   \override #'(padding . 4)
>   \table #'(0 0 0)
>     {
>       %\underline { right-aligned center-aligned left-aligned }
>       "1" "2" "3"
>       "4" "" "6"
>       "7" "8" ""
>       "10" "" "12"
>     }
> }

Borders / gridlines are not yet coded for \table, maybe I should have
done so, at least as an option.
Currently I've no time to delve into it maybe someone else can step in.

If you don't mind loosing the page breaking option, centering is as simple as:

\markup \fill-line {
  \column
  \override #'(padding . 4)
  \table #'(0 0 0)
    {
      %\underline { right-aligned center-aligned left-aligned }
      "1" "2" "3"
      "4" "" "6"
      "7" "8" ""
      "10" "" "12"
    }
}

Cheers,
  Harm

reply via email to

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