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:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396
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
Hello,
On Sun, 29 Oct 2017 23:50:51 +0100, 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 ....
unfortunately, it does not... Lukas
work better?
Aditya
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396
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.
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:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396
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:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@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
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
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:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396
participants (3)
-
Aditya Mahajan
-
Procházka Lukáš Ing.
-
Taco Hoekwater