[NTG-context] Re: how to get bottom-vertical-alignment in (natural) table cells?

2004-02-15 Thread Stefan Wachter
Hi Willi,

thanks for your reply - it works. Just for completeness: is top 
alignment termed high?

Willi Egger wrote:
Hi Stefan,

May be not quit logic, but when replacing the bottom by low you get 
the desired result.

Kind regards

Willi

Stefan Wachter wrote:

Hi all!

I try to set a simple table that show the different horizontal and 
vertical alignment capabilities (see below):

horizontal: left, middle, right
vertical: top(?), lohi, bottom(?)
Yet, the bottom alignment does not work. The texts in the third column 
that should be placed at the bottom appear at the top of their cell.

Does anyone know how bottom alignment in table cells can be accomplished?

Many thanks for your attention.
--Stefan
\bTABLE[width=3cm,height=3cm]
\bTABLEbody
\bTR
\bTD[align={right,top}] top \eTD
\bTD[align={right,lohi}] middle \eTD
\bTD[align={right,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={middle,top}] top \eTD
\bTD[align={middle,lohi}] middle \eTD
\bTD[align={middle,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={left,top}] top \eTD
\bTD[align={left,lohi}] middle \eTD
\bTD[align={left,bottom}] bottom \eTD
\eTR
\eTABLEbody
\eTABLE
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: proportional column widths in natural tables?

2004-02-15 Thread Stefan Wachter
Hi Willi,

thanks for your reply. Can you please tell me, what the makeupwidth is?

It seems that I have to do some calculations for the widths by myself: I 
have a CALS table model where the widths are specified by proportional 
weights. - I have to sum the weigths of all columns and divide each of 
the weights by this sum in order to get the necessary stretch factors 
for each column.

I hoped the ConTeXt has already a mechanism for this kind of specifiying 
the widths.

--Stefan



Willi Egger wrote:
Hi Stefan

sorry for sending an answer to your previous mail as reply to this one

You can determin columnwidths by saying width=.3\textwidth or 
width=.3\makeupwidth or even though less ConTeXty width=.3\hsize

Wheter to use \textwidth or \makeupwidth depends on the context where 
your table is placed.

Kind regards
Willi
Stefan Wachter wrote:

Hi all!

Is there a possibility to specify proportional column widths when 
using natural tables?

E.g. If i want to set column 1 and 2 to have 2/7 and column 3 3/7 of 
the available broadth.

\setupTABLE[column][1][width=2*]
\setupTABLE[column][2][width=2*]
\setupTABLE[column][3][width=3*]
Thanks for your attention,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: proportional column widths in natural tables?

2004-02-15 Thread Willi Egger
Hi Stefan,

From the english manual...p24-25

Basically textwidth is the width available at the moment i.e. when in 
any other sitation than one column. Makeupwidth is the total width of 
the typesetting area.

Concerning you CALS table model, I assume indeed that you will have to 
calculate the individual widths...

Kind reagards
Willi
Stefan Wachter wrote:

Hi Willi,

thanks for your reply. Can you please tell me, what the makeupwidth is?

It seems that I have to do some calculations for the widths by myself: I 
have a CALS table model where the widths are specified by proportional 
weights. - I have to sum the weigths of all columns and divide each of 
the weights by this sum in order to get the necessary stretch factors 
for each column.

I hoped the ConTeXt has already a mechanism for this kind of specifiying 
the widths.

--Stefan



Willi Egger wrote:

Hi Stefan

sorry for sending an answer to your previous mail as reply to this 
one

You can determin columnwidths by saying width=.3\textwidth or 
width=.3\makeupwidth or even though less ConTeXty width=.3\hsize

Wheter to use \textwidth or \makeupwidth depends on the context where 
your table is placed.

Kind regards
Willi
Stefan Wachter wrote:

Hi all!

Is there a possibility to specify proportional column widths when 
using natural tables?

E.g. If i want to set column 1 and 2 to have 2/7 and column 3 3/7 of 
the available broadth.

\setupTABLE[column][1][width=2*]
\setupTABLE[column][2][width=2*]
\setupTABLE[column][3][width=3*]
Thanks for your attention,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: how to get bottom-vertical-alignment in (natural) table cells?

2004-02-15 Thread Willi Egger
Hi Stefan,

I would not know whether it can be generalized. In text you can place 
text superscript with \high{superscripted text}. Mostly I would have a 
look into the help-system for commands. You can start it with e.g. 
texshow setuptabulate.

If you use the  SciTe editor it is you can setup it in such a way, that 
you can use F1 to get this help.

Yet another way to use this help is to use http://members.ping.de:8061/ 
this is a tool setup by Patrick Gundlach.

Kind regards
Willi
Stefan Wachter wrote:

Hi Willi,

thanks for your reply - it works. Just for completeness: is top 
alignment termed high?

Willi Egger wrote:

Hi Stefan,

May be not quit logic, but when replacing the bottom by low you 
get the desired result.

Kind regards

Willi

Stefan Wachter wrote:

Hi all!

I try to set a simple table that show the different horizontal and 
vertical alignment capabilities (see below):

horizontal: left, middle, right
vertical: top(?), lohi, bottom(?)
Yet, the bottom alignment does not work. The texts in the third 
column that should be placed at the bottom appear at the top of their 
cell.

Does anyone know how bottom alignment in table cells can be 
accomplished?

Many thanks for your attention.
--Stefan
\bTABLE[width=3cm,height=3cm]
\bTABLEbody
\bTR
\bTD[align={right,top}] top \eTD
\bTD[align={right,lohi}] middle \eTD
\bTD[align={right,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={middle,top}] top \eTD
\bTD[align={middle,lohi}] middle \eTD
\bTD[align={middle,bottom}] bottom \eTD
\eTR
\bTR
\bTD[align={left,top}] top \eTD
\bTD[align={left,lohi}] middle \eTD
\bTD[align={left,bottom}] bottom \eTD
\eTR
\eTABLEbody
\eTABLE
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: proportional column widths in natural tables?

2004-02-15 Thread Hans Hagen
At 19:55 15/02/2004, you wrote:
Hi Willi,

thanks for your reply. Can you please tell me, what the makeupwidth is?

It seems that I have to do some calculations for the widths by myself: I 
have a CALS table model where the widths are specified by proportional 
weights. - I have to sum the weigths of all columns and divide each of 
the weights by this sum in order to get the necessary stretch factors for 
each column.

I hoped the ConTeXt has already a mechanism for this kind of specifiying 
the widths.
\setupTABLE[option=stretch]

-
  Hans Hagen | PRAGMA ADE/POD/CTS
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context