ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Vertical padding in tables
@ 2016-09-11  9:58 Jose Luis Arellano
  2016-09-11 16:04 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Jose Luis Arellano @ 2016-09-11  9:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list.

How can I control vertical padding in natural tables?

Thanks
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-11  9:58 Vertical padding in tables Jose Luis Arellano
@ 2016-09-11 16:04 ` Wolfgang Schuster
  2016-09-11 21:27   ` Jose Luis Arellano
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2016-09-11 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 696 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1870 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-11 16:04 ` Wolfgang Schuster
@ 2016-09-11 21:27   ` Jose Luis Arellano
  2016-09-12 12:30     ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Jose Luis Arellano @ 2016-09-11 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-11 21:27   ` Jose Luis Arellano
@ 2016-09-12 12:30     ` Wolfgang Schuster
  2016-09-12 17:18       ` Jose Luis Arellano
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2016-09-12 12:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1444 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-12 12:30     ` Wolfgang Schuster
@ 2016-09-12 17:18       ` Jose Luis Arellano
  2016-09-12 17:21         ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Jose Luis Arellano @ 2016-09-12 17:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1072 bytes --]

Distance between text in different cells.

On Mon, Sep 12, 2016, 9:31 AM Wolfgang Schuster <schuster.wolfgang@gmail.com>
wrote:

> Jose Luis Arellano <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
>
> ___________________________________________________________________________________
> 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

[-- Attachment #1.2: Type: text/html, Size: 2908 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-12 17:18       ` Jose Luis Arellano
@ 2016-09-12 17:21         ` Wolfgang Schuster
  2016-09-12 17:25           ` Jose Luis Arellano
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2016-09-12 17:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 180 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-12 17:21         ` Wolfgang Schuster
@ 2016-09-12 17:25           ` Jose Luis Arellano
  2016-09-12 17:31             ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Jose Luis Arellano @ 2016-09-12 17:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 844 bytes --]

Is there a way to import data from csv using tabulate?

On Mon, Sep 12, 2016, 2:22 PM Wolfgang Schuster <schuster.wolfgang@gmail.com>
wrote:

> Jose Luis Arellano <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
>
> ___________________________________________________________________________________
> 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

[-- Attachment #1.2: Type: text/html, Size: 2652 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Vertical padding in tables
  2016-09-12 17:25           ` Jose Luis Arellano
@ 2016-09-12 17:31             ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2016-09-12 17:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 465 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1536 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-12 17:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-11  9:58 Vertical padding in tables Jose Luis Arellano
2016-09-11 16:04 ` Wolfgang Schuster
2016-09-11 21:27   ` Jose Luis Arellano
2016-09-12 12:30     ` Wolfgang Schuster
2016-09-12 17:18       ` Jose Luis Arellano
2016-09-12 17:21         ` Wolfgang Schuster
2016-09-12 17:25           ` Jose Luis Arellano
2016-09-12 17:31             ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).