Re: [NTG-context] xtables different frame thickness for one side only

2017-03-01 Thread Pablo Rodriguez
On 02/24/2017 01:19 PM, Csikos Bela wrote:
> Dear context users:
> 
> Is it possible to change the rulethickness of one side of a row in xtables?
> I the example below I'd like the bottom of the first row to be thicker than 
> other sides.

Sorry for the delayed reply, Csikos.

You can accomplish it with the following code (recursion only used to
show the single thicker bottom frame):

\installbottomframerenderer{thicker}
{\blackrule[width=\overlaywidth,height=3\linewidth]}
\starttext
\startxtable[frame=on]
\startxrow[bottomframe=thicker] % bottom frame should be thicker
\startxcell AAA \stopxcell
\startxcell BBB \stopxcell
\stopxrow
\dorecurse{5}{\startxrow
\startxcell CCC \stopxcell
\startxcell DDD \stopxcell
\stopxrow}
\stopxtable
\stoptext

If this is what you want, would you be so kind to wikify it?

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] xtables different frame thickness for one side only

2017-02-24 Thread Csikos Bela
Dear context users:

Is it possible to change the rulethickness of one side of a row in xtables?
I the example below I'd like the bottom of the first row to be thicker than 
other sides.

\starttext
\startxtable[frame=on]
\startxrow % bottom frame of this row should be thicker
\startxcell AAA \stopxcell
\startxcell BBB \stopxcell
\stopxrow
\startxrow
\startxcell CCC \stopxcell
\startxcell DDD \stopxcell
\stopxrow
\stopxtable
\stoptext

If I understand correctly xtables uses framed mechanism. For framed I could not
find an option to change the frame thickness of individual sides. There's only
rulethickness option which applies to all sides. According to this what I want 
to do
in xtabels is not feasible. Please correct if I misunderstand something.

Thanks you in advance,

bcsikos


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___