Tables query (MKII, latest beta)
I have a simple, multi-page table that is currently defined by \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|] The problem is that the text in the cells on the right that have more than one line is set almost solid and is often too close to the next row. So how can I adjust/control the vertical spacing both between and within rows? \setuptables[bodyfont=9pt,\setupinterlinespace[line=2.4ex]] gets: ! Missing \endcsname inserted. <to be read again> \def \doifnextoptionalelse #1#2->\def \nextoptionalcommandyes {#1}\def \nextoptio... <argument> \setupinterlinespace [line \dosetvalue #1#2->\@EA \def \csname #1#2 \endcsname \p!doassign ...r \else \@EAEAEA #1\fi \fi {#2}{#3} {#4} \xprocesscommaitem ...@relax@ #1==\empty \@relax@ \@EAEAEA \xprocesscommaite... ... l.397 ...font=9pt,\setupinterlinespace[line=2.8ex] ] I apologize if this is a FAQ: my review of the wiki and of core- tab.tex has been most instructive, but not on this issue. Alan
Am 26.03.2009 um 16:58 schrieb Bowen Alan C.:
I have a simple, multi-page table that is currently defined by
\setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|]
The problem is that the text in the cells on the right that have more than one line is set almost solid and is often too close to the next row.
EXAMPLE! Wolfgang
This sample will show the crowding within a cell and between rows. Alan \starttext \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|] \NC A\NC read \quote{provided} for \quote{providing} \NC\AR \NC B\NC Aliquam aliquet, est a ullamcorper condimentum, tellus nulla fringilla elit, a iaculis nulla turpis sed wisi. Fusce volutpat. Etiam sodales ante id nunc. Proin ornare dignissim lacus. Nunc porttitor nunc a sem. Sed sollicitudin velit eu magna. Aliquam erat volutpat. Vivamus ornare est non wisi. Proin vel quam. Vivamus egestas. Nunc tempor diam vehicula mauris. Nullam sapien eros, facilisis vel, eleifend non, auctor dapibus, pede.\NC\AR \NC C\NC read 2002 for 2003 \NC\AR \NC 9.1.13.2\NC read \quote{provided} for \quote{providing} \NC\AR \NC 18.2.7.5\NC read Ictinus for Icinus architect of the Parthenon \NC \AR \NC 83.3.9.13\NC read 2002 for 2003 \NC\AR \NC 97.4.8.4\NC delete \quote{used} \NC\AR \stoptables \stoptext On Mar 26, 2009, at 12;55,56 , Wolfgang Schuster wrote:
Am 26.03.2009 um 16:58 schrieb Bowen Alan C.:
I have a simple, multi-page table that is currently defined by
\setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|]
The problem is that the text in the cells on the right that have more than one line is set almost solid and is often too close to the next row.
EXAMPLE!
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Am 26.03.2009 um 18:51 schrieb Bowen Alan C.:
This sample will show the crowding within a cell and between rows.
Alan
\starttext \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|]
You could use this for the time being but I hope myself Hans can fix the spacing. \starttable[|l|b{\setupinterlinespace[line=2.8ex]}p(.6\textwidth)|] Wolfgang
Thanks, Wolfgang! This is a great improvement---here is no crowding any cell now. There remain , however, a few (many fewer) crowded rows. So here’s hoping that Hans can get to this and make the required adjustments. Alan On Mar 26, 2009, at 14;12,11 , Wolfgang Schuster wrote:
Am 26.03.2009 um 18:51 schrieb Bowen Alan C.:
This sample will show the crowding within a cell and between rows.
Alan
\starttext \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|]
You could use this for the time being but I hope myself Hans can fix the spacing.
\starttable[|l|b{\setupinterlinespace[line=2.8ex]}p(.6\textwidth)|]
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Bowen Alan C. wrote:
Thanks, Wolfgang!
This is a great improvement---here is no crowding any cell now. There remain , however, a few (many fewer) crowded rows. So here’s hoping that Hans can get to this and make the required adjustments.
i'll upload a fix (wolfgang: at some point we can clean up this table module, merge everything into one file erc etc; then i can also redo the coloring of cells) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Many thanks as ever, Hans. Best, Alan On Mar 26, 2009, at 17;10,38 , Hans Hagen wrote:
Bowen Alan C. wrote:
Thanks, Wolfgang! This is a great improvement---here is no crowding any cell now. There remain , however, a few (many fewer) crowded rows. So here’s hoping that Hans can get to this and make the required adjustments.
i'll upload a fix
(wolfgang: at some point we can clean up this table module, merge everything into one file erc etc; then i can also redo the coloring of cells)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (4)
-
Bowen Alan C.
-
Bowen Alan C.
-
Hans Hagen
-
Wolfgang Schuster