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

2016-05-22 Thread Lukáš Procházka

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 
 wrote:


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

Tel: +420 241 096 751
Fax: +420 244 461 038

TabThick2.mkiv
Description: Binary data


TabThick2.pdf
Description: Adobe PDF document
___
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
___

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

2016-05-17 Thread Wolfgang Schuster

Alan BRASLAU 
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
___
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
___

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

2016-05-17 Thread Alan BRASLAU
On Tue, 17 May 2016 23:09:16 +0200
Wolfgang Schuster  wrote:

> How to achieve this? 
> https://mailman.ntg.nl/pipermail/ntg-context/2016/084481.html

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.

Alan
___
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
___

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

2016-05-17 Thread Wolfgang Schuster

Procházka Lukáš Ing. 
17. Mai 2016 um 14:47
Hello,

what is the easiest way to border table row along ONE side?

In my example - first row bottom and last row top?

All being typeset as TABLE (i.e. \bTABLE ... \bTR ... \bTD ...).

I played a bit with rulethickness for TD and/or TR but in all attempts 
the WHOLE border thickness is affected.


I guess that the bordering style of the table attached is often needed;
I would be nice to have something like \bTR[bottomrulethickness=thick] 
or something...


How to achieve this?

https://mailman.ntg.nl/pipermail/ntg-context/2016/084481.html

Wolfgang
___
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
___

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

2016-05-17 Thread Procházka Lukáš Ing .

Hello,

what is the easiest way to border table row along ONE side?

In my example - first row bottom and last row top?

All being typeset as TABLE (i.e. \bTABLE ... \bTR ... \bTD ...).

I played a bit with rulethickness for TD and/or TR but in all attempts the 
WHOLE border thickness is affected.

I guess that the bordering style of the table attached is often needed;
I would be nice to have something like \bTR[bottomrulethickness=thick] or 
something...

How to achieve this?

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038___
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
___