Re: [NTG-context] Tabulate containing high element

2017-11-01 Thread Procházka Lukáš Ing .

Hello Taco,

thank you for the hack.

\tabulatesplitlinemode=0 has local effect, so one may enclose it into group to 
protect global setting.

I also had to enclose some elements into \tbox to get proper vertical alignment 
- see the MWE attached.

Thank you anyway.

Best regards,

Lukas


On Tue, 31 Oct 2017 13:37:00 +0100, Taco Hoekwater  wrote:



Hi,

This should work:

  \tabulatesplitlinemode=0 % 1 | 2, default: 1
  % controls the splitting dimensions for lines in ‘p’ mode
  % 0: do nothing
  % 1: make each line exactly the height and depth of \strut
  % 2: make each line at least the height and depth height of \strut


Undocumented, so likely to change in the next beta ;)

Best wishes,
Taco



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

Mob.: +420 702 033 396

Tabul-with-HighElem.mkiv
Description: Binary data


Tabul-with-HighElem.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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tabulate containing high element

2017-10-31 Thread Taco Hoekwater

Hi,

This should work:

  \tabulatesplitlinemode=0 % 1 | 2, default: 1
  % controls the splitting dimensions for lines in ‘p’ mode 
  % 0: do nothing
  % 1: make each line exactly the height and depth of \strut
  % 2: make each line at least the height and depth height of \strut


Undocumented, so likely to change in the next beta ;)

Best wishes,
Taco


> On 31 Oct 2017, at 12:55, Procházka Lukáš Ing.  wrote:
> 
> Hello,
> 
> any idea?
> 
> My other attempts to constrain the row height to reflect its highest member 
> fail, too.
> 
> Is it possible in the tabulate environment at all?
> 
> Best regards,
> 
> Lukas
> 
> 
> On Mon, 30 Oct 2017 09:04:18 +0100, Procházka Lukáš Ing.  
> wrote:
> 
>> Hello,
>> 
>> On Sun, 29 Oct 2017 23:50:51 +0100, Aditya Mahajan  wrote:
>> 
>>> On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:
>>> 
 Hello,
 
 how to make tabulate row "aware" of some content of some "bigger" height?
 
 In the following sample:
 
 
 \starttext
 \starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
 \stoptabulate
 \stoptext
 
>>> 
>>> (Untested): Does
>>> 
>>> \dontleavehmode \framed 
>> 
>> unfortunately, it does not...
>> 
>> Lukas
>> 
>>> work better?
>>> 
>>> Aditya
>> 
>> 
> 
> 
> -- 
> Ing. Lukáš Procházka | mailto:l...@pontex.cz
> Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
> IDDS:nrpt3sn
> Bezová 1658
> 147 14 Praha 4
> 
> Mob.: +420 702 033 
> 396___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

Taco Hoekwater
Elvenkind BV




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tabulate containing high element

2017-10-31 Thread Procházka Lukáš Ing .

Hello,

any idea?

My other attempts to constrain the row height to reflect its highest member 
fail, too.

Is it possible in the tabulate environment at all?

Best regards,

Lukas


On Mon, 30 Oct 2017 09:04:18 +0100, Procházka Lukáš Ing.  wrote:


Hello,

On Sun, 29 Oct 2017 23:50:51 +0100, Aditya Mahajan  wrote:


On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:


Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
\starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
\stoptabulate
\stoptext



(Untested): Does

\dontleavehmode \framed 


unfortunately, it does not...

Lukas


work better?

Aditya






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

Mob.: +420 702 033 396

Tabul-with-HighElem.mkiv
Description: Binary data


Tabul-with-HighElem.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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tabulate containing high element

2017-10-30 Thread Procházka Lukáš Ing .

Hello,

On Sun, 29 Oct 2017 23:50:51 +0100, Aditya Mahajan  wrote:


On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:


Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
\starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
\stoptabulate
\stoptext



(Untested): Does

\dontleavehmode \framed 


unfortunately, it does not...

Lukas


work better?

Aditya



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

Mob.: +420 702 033 396

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Tabulate containing high element

2017-10-29 Thread Aditya Mahajan

On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:


Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
\starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
\stoptabulate
\stoptext



(Untested): Does

\dontleavehmode \framed 

work better?

Aditya___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Tabulate containing high element

2017-10-29 Thread Procházka Lukáš Ing .

Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
  \starttabulate[|pd(.4\textwidth)|p|]
\HL
\NC
  \framed[location=top,width=1in,height=1in]{Abc}
\VL
  Def
\NC\NR
\HL
  \stoptabulate
\stoptext


content of the \framed flows out of the height of the first row;
I'd like the first row to have height of the highest element (here: the \framed 
- be 1 in).

How to achieve this?

Thank you in advance.

Best regards,

Lukas


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

Mob.: +420 702 033 396

t2.mkiv
Description: Binary data


t2.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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___