[NTG-context] Thick border of one side of TR/TD

Lukáš Procházka LPr at pontex.cz
Sun May 22 13:42:10 CEST 2016


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 at gmail.com> wrote:

>> Alan BRASLAU <mailto:alan.braslau at 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 at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TabThick2.mkiv
Type: application/octet-stream
Size: 451 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160522/84dad4a2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TabThick2.pdf
Type: application/pdf
Size: 5421 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160522/84dad4a2/attachment.pdf>


More information about the ntg-context mailing list