Re: [NTG-context] Booktabs equivalent in Context

2007-08-11 Thread Patrick Gundlach
Hi, Here is another attempt, which I feel is the cleanest way to go about this whole thing. Right now the skip between the columns is not configurable, but it should be possible to use the get the value of the skip. I'd love to see a cmidrule from column n to column m where n + 1 m and then

Re: [NTG-context] Booktabs equivalent in Context

2007-08-11 Thread Patrick Gundlach
Hi, Is there something like \arraystretch(?) which is a factor that every vertical whitespace in a table is multiplied with? If you are happy with an integer scaling, [...] cool, this is very nice! Thanks, Patrick

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Wolfgang Schuster
2007/8/9, Hamid Kamrani [EMAIL PROTECTED]: Aditya, In the example you give with CMID you have only two column preambles whereas the table has 3 columns and if one adds the missing preamble then one gets an error. Some how your new code breaks the calculation for number of columns. -Hamid

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Aditya Mahajan
On Thu, 9 Aug 2007, Wolfgang Schuster wrote: 2007/8/9, Hamid Kamrani [EMAIL PROTECTED]: Aditya, In the example you give with CMID you have only two column preambles whereas the table has 3 columns and if one adds the missing preamble then one gets an error. Some how your new code breaks the

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Wolfgang Schuster
2007/8/9, Aditya Mahajan [EMAIL PROTECTED]: On Thu, 9 Aug 2007, Wolfgang Schuster wrote: 2007/8/9, Hamid Kamrani [EMAIL PROTECTED]: Aditya, In the example you give with CMID you have only two column preambles whereas the table has 3 columns and if one adds the missing preamble then

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Hamid Kamrani
Wolfgang, It is not just a matter of forgetting the NC. When you add that NC then the tabbing and alignment is incorrect for the last column. The rules should not extend beyond the last column and in this case they do. Aditya's formatted correctly but had the wrong syntax. Yours has the right

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Aditya Mahajan
Quoting Wolfgang Schuster [EMAIL PROTECTED]: 2007/8/9, Aditya Mahajan [EMAIL PROTECTED]: On Thu, 9 Aug 2007, Wolfgang Schuster wrote: 2007/8/9, Hamid Kamrani [EMAIL PROTECTED]: Aditya, In the example you give with CMID you have only two column preambles whereas the table has 3

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Wolfgang Schuster
2007/8/9, Aditya Mahajan [EMAIL PROTECTED]: Quoting Wolfgang Schuster [EMAIL PROTECTED]: 2007/8/9, Aditya Mahajan [EMAIL PROTECTED]: On Thu, 9 Aug 2007, Wolfgang Schuster wrote: 2007/8/9, Hamid Kamrani [EMAIL PROTECTED]: Aditya, In the example you give with CMID you have only

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Johannes Graumann
Hello, I'm one of the booktab-equivalent requesters and in my case the request is motivated by the (sadly German-only) http://www.ctan.org/tex-archive/info/german/tabsatz/tabsatz.pdf Please compare examples on pages 4 and 5 for the cmidrule functionality I'm missing in ConTeXt. The clarity you

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Aditya Mahajan
Quoting Johannes Graumann [EMAIL PROTECTED]: Aditya Mahajan wrote: Hi, The question of how to get tables equivalent to latex's booktabs package has been discussed quite a few times in the past. Booktabs package provides (top|mid|bottom)rule commands and a cmidrule command. The top and

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Hamid Kamrani
Aditya, In the example you give with CMID you have only two column preambles whereas the table has 3 columns and if one adds the missing preamble then one gets an error. Some how your new code breaks the calculation for number of columns. -Hamid On 8/8/07, Aditya Mahajan [EMAIL PROTECTED]

Re: [NTG-context] Booktabs equivalent in Context

2007-08-05 Thread Aditya Mahajan
On Sat, 4 Aug 2007, Patrick Gundlach wrote: Hello Aditya, To me this looks exactly similar to the example in the booktabs manual. Am I missing something, or is it fair to say that context can generate booktabs like tables? Any way to shorten the rule \DL[2]? IMO this is critical for

Re: [NTG-context] Booktabs equivalent in Context

2007-08-04 Thread Patrick Gundlach
Hello Aditya, To me this looks exactly similar to the example in the booktabs manual. Am I missing something, or is it fair to say that context can generate booktabs like tables? Any way to shorten the rule \DL[2]? IMO this is critical for nicely set tables. But the rest looks very, very

[NTG-context] Booktabs equivalent in Context

2007-08-03 Thread Aditya Mahajan
Hi, The question of how to get tables equivalent to latex's booktabs package has been discussed quite a few times in the past. Booktabs package provides (top|mid|bottom)rule commands and a cmidrule command. The top and bottom rules are 0.08em thick, the midrule is 0.05em thick, and the