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: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
Procházka Lukáš Ing. mailto:LPr@pontex.cz 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
On Tue, 17 May 2016 23:09:16 +0200
Wolfgang Schuster
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
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
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
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
participants (4)
-
Alan BRASLAU
-
Lukáš Procházka
-
Procházka Lukáš Ing.
-
Wolfgang Schuster