Dear list. How can I control vertical padding in natural tables? Thanks
Jose Luis Arellano mailto:jose.4rellano@gmail.com 11. September 2016 um 11:58 Dear list.
How can I control vertical padding in natural tables? You can use offset the control the padding on all four sides and loffset etc. for the individual sides.
\startTEXpage[offset=1cm] \bTABLE[offset=1mm,strut=no,style={\switchtobodyfont[tt,40pt]}] \bTR \bTD[loffset=1cm,toffset=1cm] A \eTD \bTD[roffset=1cm,toffset=1cm] B \eTD \eTR \bTR \bTD[loffset=1cm,boffset=1cm] C \eTD \bTD[roffset=1cm,boffset=1cm] D \eTD \eTR \eTABLE \stopTEXpage Wolfgang
Hi Wolfgang, Thanks for the answer, the strut option was the trick. What am trying to do is create a table without frames in body and set the distance between text in cells to match the distance defined in \setupinterlinespace. How can i do that? Thanks.
Jose Luis Arellano mailto:jose.4rellano@gmail.com 11. September 2016 um 23:27 Hi Wolfgang,
Thanks for the answer, the strut option was the trick.
What am trying to do is create a table without frames in body and set the distance between text in cells to match the distance defined in \setupinterlinespace. Do you mean text in a single cell or the distance between text in different cells?
Wolfgang
Distance between text in different cells.
On Mon, Sep 12, 2016, 9:31 AM Wolfgang Schuster
Jose Luis Arellano
11. September 2016 um 23:27 Hi Wolfgang,
Thanks for the answer, the strut option was the trick.
What am trying to do is create a table without frames in body and set the distance between text in cells to match the distance defined in \setupinterlinespace.
Do you mean text in a single cell or the distance between text in different cells?
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- pp
Jose Luis Arellano mailto:jose.4rellano@gmail.com 12. September 2016 um 19:18 Distance between text in different cells. Tabulate is a better choice in this case.
Wolfgang
Is there a way to import data from csv using tabulate?
On Mon, Sep 12, 2016, 2:22 PM Wolfgang Schuster
Jose Luis Arellano
12. September 2016 um 19:18 Distance between text in different cells.
Tabulate is a better choice in this case.
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- pp
Jose Luis Arellano mailto:jose.4rellano@gmail.com 12. September 2016 um 19:25 Is there a way to import data from csv using tabulate? \usemodule[database]
\startbuffer[data] 927,273,276 308,930,298 934,390,278 \stopbuffer \defineseparatedlist [TESTLIST] [separator=comma, before={\starttabulate[|l|l|l|]}, after=\stoptabulate, first=\NC, last=\NR, right=\NC] \starttext \processdatabasebuffer[TESTLIST][data] \stoptext Wolfgang
participants (2)
-
Jose Luis Arellano
-
Wolfgang Schuster