ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* xtables different frame thickness for one side only
@ 2017-02-24 12:19 Csikos Bela
  2017-03-01 19:04 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Csikos Bela @ 2017-02-24 12:19 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xtables different frame thickness for one side only
  2017-02-24 12:19 xtables different frame thickness for one side only Csikos Bela
@ 2017-03-01 19:04 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2017-03-01 19:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-24 12:19 xtables different frame thickness for one side only Csikos Bela
2017-03-01 19:04 ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).