From: "Lukáš Procházka" <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Thick border of one side of TR/TD
Date: Sun, 22 May 2016 13:42:10 +0200 [thread overview]
Message-ID: <op.yhu34kv8f14xzu@lkzd-2013> (raw)
In-Reply-To: <573B9A56.8010908@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]
Hello,
thanks for the answers.
So my solution now is:
----
\startuseMPgraphic{MP:ThickBtm}
draw bottomboundary OverlayBox withpen pensquare scaled 1mm withcolor black;
clip currentpicture to OverlayBox;
\stopuseMPgraphic
\installbottomframerenderer{Thick}{\useMPgraphic{MP:ThickBtm}}
\starttext
\bTABLE[width=.4\textwidth,frame=on,align={middle,lohi}]
\bTR[bottomframe=Thick]
\bTD a \eTD\bTD b \eTD
\eTR
\bTR
\bTD A \eTD\bTD B \eTD
\eTR
\eTABLE
\stoptext
----
Best regards,
Lukas
On Wed, 18 May 2016 00:25:26 +0200, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>> Alan BRASLAU <mailto:alan.braslau@cea.fr>
>> 18. Mai 2016 um 00:17
>> On Tue, 17 May 2016 23:09:16 +0200
>>
>> In case Wolfgang's answer was not clear: use "extreme" tables
>> (\startxtable) rather than "natural" tables (\bTABLE). This mechanism
>> uses 'framed' and is more flexible.
> There is no need to switch from natural to extreme tables because both
> tables uses framed for the cells. What is necessary to create individual
> borders for a cell is either a metapost background where you can solid,
> dashed etc. lines or custom frame types which can be defined with
> the \install(left|right|top|bottom)framerenderer command.
>
> Wolfgang
>
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
[-- Attachment #2: TabThick2.mkiv --]
[-- Type: application/octet-stream, Size: 451 bytes --]
\startuseMPgraphic{MP:ThickBtm}
draw bottomboundary OverlayBox withpen pensquare scaled 1mm withcolor black;
clip currentpicture to OverlayBox;
\stopuseMPgraphic
\installbottomframerenderer{Thick}{\useMPgraphic{MP:ThickBtm}}
\starttext
\bTABLE[width=.4\textwidth,frame=on,align={middle,lohi}]
\bTR[bottomframe=Thick]
\bTD a \eTD\bTD b \eTD
\eTR
\bTR
\bTD A \eTD\bTD B \eTD
\eTR
\eTABLE
\stoptext
[-- Attachment #3: TabThick2.pdf --]
[-- Type: application/pdf, Size: 5421 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2016-05-22 11:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 12:47 Procházka Lukáš Ing.
2016-05-17 21:09 ` Wolfgang Schuster
2016-05-17 22:17 ` Alan BRASLAU
2016-05-17 22:25 ` Wolfgang Schuster
2016-05-22 11:42 ` Lukáš Procházka [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=op.yhu34kv8f14xzu@lkzd-2013 \
--to=lpr@pontex.cz \
--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).