Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Mojca Miklavec wrote: Taco Hoekwater wrote: Jilani Khaldi wrote: I just want to know how to have a table in Context with cells which can contain many lines each; something like this: \starttabulate[|p(4cm)|p(2cm)|p(2cm)|] \NC Header1 \NC header2 \NC header 3 \NC\NR \NC This is a text splitted in 3 lines because it is very long \NC 2005\NC Thank you for the tip!\NC\NR \stoptabulate Or (in the spirit of Taco's example): \bTABLE \setupTABLE[c][1][width=4cm] \setupTABLE[c][2,3][width=2cm] % 2nd and 3rd column \bTR \bTD Header1 \eTD \bTD header2 \eTD \bTD header3 \eTD \eTR \bTD This is a text splitted in 3 lines because it is very long \eTD \bTD 2005 \eTD \bTD Thank you for the tip! \eTD \eTABLE If text in a cell is very long, it will be splitted in more lines automatically, so that the table of width \textwidth will be produced. \bTABLE ... \eTABLE is already very clever, however, I don't know if you can do something similar as in the LaTeX example you provided, so that the overall table width is fixed to exactly 16 cm (also for a \bTABLE[option=stretch,textwidth=16cm] ... \eTABLE vit very small table, which should artificially be expanded) without having to provide the width of every single column. See enattab.pdf for more details about natural tables. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === Ing. Vít Zýka, Ph.D. TYPOkvítek database publishing databazove publikovani data maintaining and typesetting in typographic quality priprava dat a jejich sazba v typograficke kvalite tel.: (+420) 777 198 189 www: http://typokvitek.com === ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Mojca Miklavec wrote: Taco Hoekwater wrote: Jilani Khaldi wrote: I just want to know how to have a table in Context with cells which can contain many lines each; something like this: \starttabulate[|p(4cm)|p(2cm)|p(2cm)|] \NC Header1 \NC header2 \NC header 3 \NC\NR \NC This is a text splitted in 3 lines because it is very long \NC 2005\NC Thank you for the tip!\NC\NR \stoptabulate Or (in the spirit of Taco's example): \bTABLE \setupTABLE[c][1][width=4cm] \setupTABLE[c][2,3][width=2cm] % 2nd and 3rd column \bTR \bTD Header1 \eTD \bTD header2 \eTD \bTD header3 \eTD \eTR \bTD This is a text splitted in 3 lines because it is very long \eTD \bTD 2005 \eTD \bTD Thank you for the tip! \eTD \eTABLE Thank you! More precisally: \bTABLE \setupTABLE[c][1][width=4cm] \setupTABLE[c][2,3][width=2cm] % 2nd and 3rd column \bTR \bTD Header1 \eTD \bTD header2 \eTD \bTD header3 \eTD \eTR \bTR \bTD This is a text splitted in 3 lines because it is very long \eTD \bTD 2005 \eTD \bTD Thank you for the tip! \eTD \eTR \eTABLE jk -- // Jilani KHALDI http://www.archsf.org ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Sorry, a little mistake, here's a fixed version: \bTABLE \setupTABLE[c][1][width=4cm] \setupTABLE[c][2,3][width=2cm] % 2nd and 3rd column \bTR \bTD Header1 \eTD \bTD header2 \eTD \bTD header3 \eTD \eTR \bTR \bTD This is a text splitted in 3 lines because it is very long \eTD \bTD 2005 \eTD \bTD Thank you for the tip! \eTD \eTR \eTABLE Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Taco Hoekwater wrote: > Jilani Khaldi wrote: > > > > I just want to know how to have a table in Context with cells which can > > contain many lines each; something like this: > >\starttabulate[|p(4cm)|p(2cm)|p(2cm)|] >\NC Header1 \NC header2 \NC header 3 \NC\NR >\NC This is a text splitted in 3 lines because it is very long >\NC 2005\NC Thank you for the tip!\NC\NR >\stoptabulate Or (in the spirit of Taco's example): \bTABLE \setupTABLE[c][1][width=4cm] \setupTABLE[c][2,3][width=2cm] % 2nd and 3rd column \bTR \bTD Header1 \eTD \bTD header2 \eTD \bTD header3 \eTD \eTR \bTD This is a text splitted in 3 lines because it is very long \eTD \bTD 2005 \eTD \bTD Thank you for the tip! \eTD \eTABLE If text in a cell is very long, it will be splitted in more lines automatically, so that the table of width \textwidth will be produced. \bTABLE ... \eTABLE is already very clever, however, I don't know if you can do something similar as in the LaTeX example you provided, so that the overall table width is fixed to exactly 16 cm (also for a very small table, which should artificially be expanded) without having to provide the width of every single column. See enattab.pdf for more details about natural tables. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Jilani Khaldi wrote: I would appreciate a description of what you are asking for. I find example LaTeX code without explanations less than intructive. I just want to know how to have a table in Context with cells which can contain many lines each; something like this: \starttabulate[|p(4cm)|p(2cm)|p(2cm)|] \NC Header1 \NC header2 \NC header 3 \NC\NR \NC This is a text splitted in 3 lines because it is very long \NC 2005\NC Thank you for the tip!\NC\NR \stoptabulate Bye, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
I would appreciate a description of what you are asking for. I find example LaTeX code without explanations less than intructive. I just want to know how to have a table in Context with cells which can contain many lines each; something like this: --- |Header1 | header2 | header 3 | --- |This is a text splitted | 2005|Thank you | |in 3 lines because it | |for the tip!| |is very long | || --- jk -- // Jilani KHALDI http://www.archsf.org ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Jilani Khaldi wrote: Do you see http://wiki.contextgarden.net/Tables_Overview I already have seen there and on the manual, but I didn't find anything about what I am asking for. I would appreciate a description of what you are asking for. I find example LaTeX code without explanations less than intructive. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
for italian users there is also http://www.guit.sssup.it/forum/ Grazie, non ne ho bisogno. Se non trovo aiuto qui figuriamoci se lo trovo lì. I need to translate this code from Latex \begin{table} \begin{tabularx}{16cm}{|c|X|X|} \hline blabla & blabla & blabla\\ \hline ... \hline \end{tabularx} \end{table} Any hint? Do you see http://wiki.contextgarden.net/Tables_Overview I already have seen there and on the manual, but I didn't find anything about what I am asking for. jk -- // Jilani KHALDI http://www.archsf.org ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How this LaTeX code could be translated into ConTeXt?
Jilani Khaldi wrote: Hi All, Migrating to Context, for italian users there is also http://www.guit.sssup.it/forum/ I need to translate this code from Latex \begin{table} \begin{tabularx}{16cm}{|c|X|X|} \hline blabla & blabla & blabla\\ \hline ... \hline \end{tabularx} \end{table} Any hint? Do you see http://wiki.contextgarden.net/Tables_Overview luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How this LaTeX code could be translated into ConTeXt?
Hi All, Migrating to Context, I need to translate this code from Latex \begin{table} \begin{tabularx}{16cm}{|c|X|X|} \hline blabla & blabla & blabla\\ \hline ... \hline \end{tabularx} \end{table} Any hint? Thanks! -- // Jilani KHALDI http://www.archsf.org ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context