ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table Esthetics (and XML)
@ 2006-04-08  1:38 Johannes Graumann
  2006-04-08  7:12 ` Attachment sizes Taco Hoekwater
  2006-04-08 10:35 ` Table Esthetics (and XML) nico
  0 siblings, 2 replies; 7+ messages in thread
From: Johannes Graumann @ 2006-04-08  1:38 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 586 bytes --]

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

[-- Attachment #2: table1.jpg --]
[-- Type: image/jpeg, Size: 233339 bytes --]

[-- Attachment #3: table2.jpg --]
[-- Type: image/jpeg, Size: 255326 bytes --]

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Attachment sizes
  2006-04-08  1:38 Table Esthetics (and XML) Johannes Graumann
@ 2006-04-08  7:12 ` Taco Hoekwater
  2006-04-08 10:44   ` R S Ananda Murthy
  2006-04-09 17:56   ` Johannes Graumann
  2006-04-08 10:35 ` Table Esthetics (and XML) nico
  1 sibling, 2 replies; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-08  7:12 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Table Esthetics (and XML)
  2006-04-08  1:38 Table Esthetics (and XML) Johannes Graumann
  2006-04-08  7:12 ` Attachment sizes Taco Hoekwater
@ 2006-04-08 10:35 ` nico
  2006-04-09 18:17   ` Johannes Graumann
  1 sibling, 1 reply; 7+ messages in thread
From: nico @ 2006-04-08 10:35 UTC (permalink / raw)


On Fri, 07 Apr 2006 18:38:17 -0700, Johannes Graumann  
<johannes_graumann@web.de> wrote:

> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Attachment sizes
  2006-04-08  7:12 ` Attachment sizes Taco Hoekwater
@ 2006-04-08 10:44   ` R S Ananda Murthy
  2006-04-09 17:56   ` Johannes Graumann
  1 sibling, 0 replies; 7+ messages in thread
From: R S Ananda Murthy @ 2006-04-08 10:44 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Attachment sizes
  2006-04-08  7:12 ` Attachment sizes Taco Hoekwater
  2006-04-08 10:44   ` R S Ananda Murthy
@ 2006-04-09 17:56   ` Johannes Graumann
  1 sibling, 0 replies; 7+ messages in thread
From: Johannes Graumann @ 2006-04-09 17:56 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Table Esthetics (and XML)
  2006-04-08 10:35 ` Table Esthetics (and XML) nico
@ 2006-04-09 18:17   ` Johannes Graumann
  2006-04-09 22:13     ` nico
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Graumann @ 2006-04-09 18:17 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Table Esthetics (and XML)
  2006-04-09 18:17   ` Johannes Graumann
@ 2006-04-09 22:13     ` nico
  0 siblings, 0 replies; 7+ messages in thread
From: nico @ 2006-04-09 22:13 UTC (permalink / raw)


On Sun, 09 Apr 2006 11:17:01 -0700, Johannes Graumann  
<johannes_graumann@web.de> wrote:

> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-04-09 22:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-08  1:38 Table Esthetics (and XML) Johannes Graumann
2006-04-08  7:12 ` Attachment sizes Taco Hoekwater
2006-04-08 10:44   ` R S Ananda Murthy
2006-04-09 17:56   ` Johannes Graumann
2006-04-08 10:35 ` Table Esthetics (and XML) nico
2006-04-09 18:17   ` Johannes Graumann
2006-04-09 22:13     ` nico

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).