Left/right justification and interline-spacing inside natural tables (TABLE)
Hi list, this is probably pretty easy to solve, but I didn't find anything about in on wiki or mailing list about it. I'm using ConTeXt MkIV. How can I get the text in the following example to be left and right justified, i.e. the default alignment behaviour of text outside a TABLE ("\starttext \input knuth \stoptext")? \starttext \bTABLE \bTR[width=10cm] \bTD \input knuth \eTD \eTR \eTABLE \stoptext In addition: is it possible to increase or decrease the interline-spacing of the text inside the TABLE cell? How? Thanks in advance, Stefan
Stefan Müller
\starttext \bTABLE \bTR[width=10cm] \bTD \input knuth \eTD \eTR \eTABLE \stoptext
\starttext \bTABLE \bTR[width=10cm, align=yes] \bTD \setupinterlinespace[5ex] \input knuth \eTD \eTR \eTABLE \stoptext -- Peter
Amazing! Thank you very much for that. Your example works. However, for some reason the following does not work. Only the space before the first line and the space between the first line and second line are changed (not even to the same dimension). Any ideas? \starttext \bTABLE \bTR[width=10cm, align=yes] \bTD \setupinterlinespace[10ex] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \eTD \eTR \eTABLE \stoptext Kind regards, Stefan. On 31.01.2011 15:20, Peter Münster wrote:
Stefan Müller
writes: \starttext \bTABLE \bTR[width=10cm] \bTD \input knuth \eTD \eTR \eTABLE \stoptext
\starttext \bTABLE \bTR[width=10cm, align=yes] \bTD \setupinterlinespace[5ex] \input knuth \eTD \eTR \eTABLE \stoptext
Stefan Müller
However, for some reason the following does not work. Only the space before the first line and the space between the first line and second line are changed (not even to the same dimension). Any ideas?
deserunt mollit anim id est laborum. \eTD
deserunt mollit anim id est laborum. \par \eTD -- Peter
Thank you, that did the magic. Stefan. On 31.01.2011 16:05, Peter Münster wrote:
Stefan Müller
writes: However, for some reason the following does not work. Only the space before the first line and the space between the first line and second line are changed (not even to the same dimension). Any ideas?
deserunt mollit anim id est laborum. \eTD
deserunt mollit anim id est laborum. \par \eTD
participants (2)
-
pmlists@free.fr
-
Stefan Müller