[NTG-context] "tabulate" to full text width?

2012-04-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

is it possible to specify \(start)tabulate or \setuptabulate to fit \textwidth?

- I mean all columns to have the same width so in total to occupy the whole 
\textwidth...

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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


Re: [NTG-context] "tabulate" to full text width?

2012-04-20 Thread Marco
On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o.  wrote:

> is it possible to specify \(start)tabulate or \setuptabulate to fit
> \textwidth?

How about linetables?

\setuplinetable [width=.5\textwidth]

\starttext
\showboxes

\starttabulate
\NC Foo \NC Bar \NC\NR
\stoptabulate

\startlinetable
\NC Foo \NC Bar \NC\NR
\stoplinetable

\stoptext

Marco


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

Re: [NTG-context] "tabulate" to full text width?

2012-04-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

your code seems hopefully, but it doesn't compile (?!)...

Missing "[" and "]" somewhere?

See the test and log.

Best regards,

Lukas


On Fri, 20 Apr 2012 17:52:35 +0200, Marco  wrote:


On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o.  wrote:


is it possible to specify \(start)tabulate or \setuptabulate to fit
\textwidth?


How about linetables?

\setuplinetable [width=.5\textwidth]

\starttext
\showboxes

\starttabulate
\NC Foo \NC Bar \NC\NR
\stoptabulate

\startlinetable
\NC Foo \NC Bar \NC\NR
\stoplinetable

\stoptext

Marco



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t-LT.log
Description: Binary data


t-LT.mkiv
Description: Binary data


t-LT.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] "tabulate" to full text width?

2012-04-20 Thread Marco
On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o.  wrote:

> your code seems hopefully, but it doesn't compile (?!)...

Your file works here with 2012.04.17 and 2011.05.18.

Marco


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

Re: [NTG-context] "tabulate" to full text width?

2012-04-20 Thread Wolfgang Schuster

Am 20.04.2012 um 17:52 schrieb Marco:

> On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o.  wrote:
> 
>> is it possible to specify \(start)tabulate or \setuptabulate to fit
>> \textwidth?
> 
> How about linetables?
> 
> \setuplinetable [width=.5\textwidth]
> 
> \starttext
> \showboxes
> 
>   \starttabulate
>   \NC Foo \NC Bar \NC\NR
>   \stoptabulate
> 
>   \startlinetable
>   \NC Foo \NC Bar \NC\NR
>   \stoplinetable
> 
> \stoptext

The first column of tabulate is too narrow because you use a column which has 
only the width
of the longest test in this column, when you use other parameters for both 
(e.g. [|p|p|]) the use
enough space to take the width of the main text.

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
___