[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Black borders with table using \markuplist and please center
From:       Adam Good <goodadamgood () gmail ! com>
Date:       2021-02-21 20:02:18
Message-ID: CALjEeyhmp81QcM3Up0a_nW6chgwP1T2o9TTLuE0JfYKR5EaE1Q () mail ! gmail ! com
[Download RAW message or body]

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
>

[Attachment #3 (text/html)]

<div dir="ltr">Harm thank you very  much! I feel centered.<div><br></div><div>If \
anyone could come up with a solution for borders it would be a nice \
option.</div><div><br></div><div>best,</div><div>Adam</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 21, 2021 at 11:57 \
AM Thomas Morley &lt;<a \
href="mailto:thomasmorley65@gmail.com">thomasmorley65@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am So., 21. Feb. 2021 \
um 17:24 Uhr schrieb Adam Good &lt;<a href="mailto:goodadamgood@gmail.com" \
target="_blank">goodadamgood@gmail.com</a>&gt;:<br> &gt;<br>
&gt; Hi Everyone,<br>
&gt; I can make this pretty little table, see below but could someone please help me \
add borders / gridlines around the cells? And, I&#39;d like to be able to center the \
table to the middle of the page.<br> &gt;<br>
&gt; Thank you in advance!<br>
&gt; Adam<br>
&gt;<br>
&gt; %%%<br>
&gt; \markuplist {<br>
&gt;     \override #&#39;(padding . 4)<br>
&gt;     \table #&#39;(0 0 0)<br>
&gt;        {<br>
&gt;           %\underline { right-aligned center-aligned left-aligned }<br>
&gt;           &quot;1&quot; &quot;2&quot; &quot;3&quot;<br>
&gt;           &quot;4&quot; &quot;&quot; &quot;6&quot;<br>
&gt;           &quot;7&quot; &quot;8&quot; &quot;&quot;<br>
&gt;           &quot;10&quot; &quot;&quot; &quot;12&quot;<br>
&gt;        }<br>
&gt; }<br>
<br>
Borders / gridlines are not yet coded for \table, maybe I should have<br>
done so, at least as an option.<br>
Currently I&#39;ve no time to delve into it maybe someone else can step in.<br>
<br>
If you don&#39;t mind loosing the page breaking option, centering is as simple \
as:<br> <br>
\markup \fill-line {<br>
   \column<br>
   \override #&#39;(padding . 4)<br>
   \table #&#39;(0 0 0)<br>
      {<br>
         %\underline { right-aligned center-aligned left-aligned }<br>
         &quot;1&quot; &quot;2&quot; &quot;3&quot;<br>
         &quot;4&quot; &quot;&quot; &quot;6&quot;<br>
         &quot;7&quot; &quot;8&quot; &quot;&quot;<br>
         &quot;10&quot; &quot;&quot; &quot;12&quot;<br>
      }<br>
}<br>
<br>
Cheers,<br>
   Harm<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic