Table Esthetics (and XML)
Hello, I'm a big fan of the LaTeX booktabs package - I find tables created using it with it's 'toprule', 'bottomrule' and clippable 'cmidrule' commands the most satisfying solution I have come across (see attachments, especially 'table1.jpg'). After consulting the archives of this list, it seems clear, that ConTeXt does not yet have any package of that sophistication, but I'm dead set on writing my thesis in XML and have ConTeXt read it ... therefore I'd like to soclicit your preferences and ideas on how to pleasingly format tables - how do you do it? Thanks for any input, Joh
Hi all, I have just approved two files with rather large attachments by mistake. My apologies to everyone who is on a slow link. To the original posters: in the future, please make large examples available on the internet somewhere. Some of the people on this list are on rather slow connections. Cheers, Taco
Taco Hoekwater wrote:
Hi all,
I have just approved two files with rather large attachments by mistake. My apologies to everyone who is on a slow link.
To the original posters: in the future, please make large examples available on the internet somewhere. Some of the people on this list are on rather slow connections.
Cheers, Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Please excuse me for the big attachment. I will not repeat this in future. With due apologies, Anand
Taco Hoekwater wrote:
I have just approved two files with rather large attachments by mistake. My apologies to everyone who is on a slow link.
To the original posters: in the future, please make large examples available on the internet somewhere. Some of the people on this list are on rather slow connections.
I apologize for this. Being on a fast university T1 (or what ever it may be classified as) connection I forget what other people have to work with. Future examples will go to my home page. Joh
On Fri, 07 Apr 2006 18:38:17 -0700, Johannes Graumann
Hello,
I'm a big fan of the LaTeX booktabs package - I find tables created using it with it's 'toprule', 'bottomrule' and clippable 'cmidrule' commands the most satisfying solution I have come across (see attachments, especially 'table1.jpg'). After consulting the archives of this list, it seems clear, that ConTeXt does not yet have any package of that sophistication, but I'm dead set on writing my thesis in XML and have ConTeXt read it ... therefore I'd like to soclicit your preferences and ideas on how to pleasingly format tables - how do you do it?
Thanks for any input,
Maybe this can be a start: \starttext \framed[frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=2pt]\bgroup% \setupTABLE[frame=off]% \setupTABLE[column][each][distance=10pt]% \setupTABLE[row][1][rulethickness=0.5pt,bottomframe=on]% \setupTABLE[row][2][rulethickness=0.5pt,bottomframe=on]% \bTABLE% \bTR\bTD[nr=2] a \eTD\bTD[nc=2] b \eTD\bTD[nr=2] c \eTD\eTR% \bTR\bTD b \eTD\bTD b \eTD\eTR% \bTR\bTD a \eTD\bTD b \eTD\bTD b \eTD\bTD c \eTD\eTR% \bTR\bTD a \eTD\bTD b \eTD\bTD b \eTD\bTD c \eTD\eTR% \eTABLE% \egroup \stoptext Regards, BG
nico wrote:
\starttext ... \stoptext And so the aggressive newbie gets to eat his words .. ;0) Thank you. There is, however on feature missing in your example:
\begin{tabular}{@{}llllllr@{}} ^^^ ^^^ Will yield the horizontal lines aligned with the start/end of the table lines - no column spacing at the beginning and end of each row. Any pointers on how to emulate this with TABLE? Thanks again, Joh
On Sun, 09 Apr 2006 11:17:01 -0700, Johannes Graumann
nico wrote:
\starttext ... \stoptext And so the aggressive newbie gets to eat his words .. ;0) Thank you.
I've also played with latex tables, and really the context ones are much more powerfull and consistent.
There is, however on feature missing in your example:
\begin{tabular}{@{}llllllr@{}} ^^^ ^^^
Will yield the horizontal lines aligned with the start/end of the table lines - no column spacing at the beginning and end of each row. Any pointers on how to emulate this with TABLE?
I'm not sure how it should be achieved. Maybe one of these settings fit your need: % with overlay the frame rules are within the table; % it's ok, but the table lines start a bit before the top/bottom rule \framed[frame=off,topframe=on,bottomframe=on,offset=overlay,rulethickness=2pt]\bgroup% \setupTABLE[frame=on]% \setupTABLE[row][1,2][rulethickness=0.5pt,bottomframe=on]% \bTABLE[columndistance=10pt]% % seems ok but should we play with border margins like this? \framed[frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=2pt]\bgroup% \setupTABLE[frame=on]% \setupTABLE[row][1,2][rulethickness=0.5pt,bottomframe=on]% \bTABLE[columndistance=10pt,leftmargindistance=-2pt,rightmargindistance=-2pt]% Regards, BG
participants (4)
-
Johannes Graumann
-
nico
-
R S Ananda Murthy
-
Taco Hoekwater