Cells table with long text
![](https://secure.gravatar.com/avatar/42d406493fe54f0dd35136e034ea0a5a.jpg?s=120&d=mm&r=g)
Hi All, In a table I have some cells with long text (say 100 chars). How can I fit the text in a cell having many rows instead of a single line, as it is done (automatically) in HTML tables? An example will be very helpful. Thank you. jk -- // Jilani KHALDI http://www.archsf.org
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Jilani Khaldi wrote:
Hi All, In a table I have some cells with long text (say 100 chars). How can I fit the text in a cell having many rows instead of a single line, as it is done (automatically) in HTML tables? An example will be very helpful. Thank you.
Did the "LaTeX" thread answer your question? \bTABLE % <table> \bTR % <tr> \bTD %<td> \eTD % </td> \eTR % </tr> \eTABLE % </table> is optimized to do exactly that and can be used to transform xml (html) tables into PDF. Mojca
![](https://secure.gravatar.com/avatar/42d406493fe54f0dd35136e034ea0a5a.jpg?s=120&d=mm&r=g)
Did the "LaTeX" thread answer your question?
Yes it did.
\bTABLE % <table> \bTR % <tr> \bTD %<td> \eTD % </td> \eTR % </tr> \eTABLE % </table>
is optimized to do exactly that and can be used to transform xml (html) tables into PDF.
This is great! Thank you. jk -- // Jilani KHALDI http://www.archsf.org
![](https://secure.gravatar.com/avatar/42d406493fe54f0dd35136e034ea0a5a.jpg?s=120&d=mm&r=g)
Hi All, How to put a reference, something like "[tab:sample]{sample table}" to this table? \bTABLE \bTR \bTD Header1 \eTD \bTD header2 \eTD \eTR \bTR \bTD Val[1,1] \eTD \bTD Val[1,2] \eTD \eTR \bTR \bTD Val[2,1] \eTD \bTD Val[2,2] \eTD \eTR \eTABLE Thanks! jk -- // Jilani KHALDI http://www.archsf.org
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Jilani Khaldi wrote:
Hi All,
How to put a reference, something like "[tab:sample]{sample table}" to this table?
\bTABLE \bTR \bTD Header1 \eTD \bTD header2 \eTD \eTR \bTR \bTD Val[1,1] \eTD \bTD Val[1,2] \eTD \eTR \bTR \bTD Val[2,1] \eTD \bTD Val[2,2] \eTD \eTR \eTABLE
\placetable[here][tab:sample]{sample table}{ % braces needed \bTABLE ... \eTABLE } In table \in[tab:sample] \dots Mojca
participants (2)
-
Jilani Khaldi
-
Mojca Miklavec