Thank you! The code is much easier to understand than the other way I was trying to use.

--Joel

On Saturday, January 8, 2022, 04:00:12 PM MST, Willi Egger via ntg-context <ntg-context@ntg.nl> wrote:


I would suggest not to use \starttable at all.

To me the most suitable table environment for such a table is \bTABLE \eTABLE. It gives you all kind of control over layout, dimensions, frames on and off etc.

\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm]
\setupTABLE[c][each][align={lohi,center}]
\bTABLE
    \bTR
        \bTD {\bf Eons}\eTD \bTD {\bf Eras} \eTD
    \eTR
    \bTR
        \bTD  Hadeon Eon \eTD \bTD \eTD
    \eTR
    \bTR
        \bTD[ny=4] Archanon Eon  \eTD \bTD Eoarchean Era \eTD
    \eTR
    \bTR
        \bTD Paleoarchean Era \eTD
    \eTR
    \bTR
        \bTD Mesoarchean Era \eTD
    \eTR
    \bTR
        \bTD Neoarchean Era \eTD
    \eTR
    \bTR
        \bTD[ny=3] Proterozoic Eon \eTD    \bTD Paleoproterozoic Era \eTD
    \eTR
    \bTR   
        \bTD Mesoproterozoic Era \eTD
    \eTR
    \bTR
        \bTD Neoproterozoic Era\eTD
    \eTR
    \bTR
        \bTD[ny=3] Phanerozoic Eon \eTD \bTD Paleozoic Era \eTD
    \bTR   
        \bTD Mesozoic Era\eTD
    \eTR
    \bTR
        \bTD Cenozoic Era \eTD
    \eTR
\eTABLE

Willi

> On 8 Jan 2022, at 22:39, Joel via ntg-context <ntg-context@ntg.nl> wrote:
>
> I created a table that has some cells span multiple rows. This works good with cells that span an odd-number of rows, but when I try to span 4 rows, the text isn't quite vertically centered. How can I get the cell with the text "Archaeon Eon" to be a little lower, so it is centered within its box?
>
> --Joel
>
> Minimum working example:
>
> \starttext
>
> \starttable[|c|c|]
> \NC {\bf Eons} \NC {\bf Eras} \NC \AR
> \HL
> \NC Hadeon Eon \VL \NC \AR
> \HL
> \NC \VL Eoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \smash{Archaeon Eon} \VL Paleoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Mesoarchean Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Neoarchean Era \NC \AR
>
> \HL\NC \VL Paleoproterozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC Proterozoic Eon \VL Mesoproterozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Neoproterozoic Era \NC \AR
> \HL
>
>
> \HL\NC \VL Paleozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC Phanerozoic Eon \VL Mesozoic Era \NC \AR
> \DC \DL[1] \DR
> \NC \VL Cenozoic Era \NC \AR
> \HL
> \stoptable
>
> \stoptext

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

___________________________________________________________________________________
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

___________________________________________________________________________________