ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: xtables different frame thickness for one side only
Date: Wed, 1 Mar 2017 20:04:33 +0100	[thread overview]
Message-ID: <fdfbad71-c96d-3089-3020-3631c81bf7c6@gmx.es> (raw)
In-Reply-To: <freemail.20170224131931.68465.1@fmxmldata08.freemail.hu>

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
___________________________________________________________________________________

      reply	other threads:[~2017-03-01 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-24 12:19 Csikos Bela
2017-03-01 19:04 ` Pablo Rodriguez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fdfbad71-c96d-3089-3020-3631c81bf7c6@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).