[NTG-context] creating multirow curly brace in tables to symbolize row span

Aditya Mahajan adityam at umich.edu
Thu Aug 20 20:05:52 CEST 2015


On Thu, 20 Aug 2015, Henry House wrote:

> List:
>
> I'm trying to create a table with this effect:
>
> Parcel      |Area
>           ⎧ | 1 acre trees
> parcel 1  ⎨ | 2 acre vines
>           ⎩ | 3 acre open
>           ⎧ | 5 acre trees
> parcel 2  ⎨ | 6 acre vines
>           ⎩ | 4 acre open
>
>
> In other words, I would like a big curly bracket with leftwards point spanning
> three table rows to tell the reader that the leftmost column's entries apply to
> a three-row span in the next column (a style often seen in tables in older
> books).
>
> Any suggestions on how I can either make these symbols render, or a different
> approach to achieve my goal?

As an alternative, have you considered separating the groups by white 
space. For example:

\starttext

\bTABLE[frame=off, loffset=0.5em]
   \bTH
     \bTD Parcel \eTD
     \bTD Area   \eTD
   \eTH
   \bTR
     \bTD[nr=3, align={lohi}]
       Parcel 1
     \eTD
     \bTD 1 acre trees \eTD
   \eTR
   \bTR
     \bTD 2 acre vines \eTD
   \eTR
   \bTR
     \bTD 3 acre open \eTD
   \eTR
   \bTR[topdistance=\lineheight]
   \bTR
     \bTD[nr=3, align={lohi}]
       Parcel 2
     \eTD
     \bTD 5 acre trees \eTD
   \eTR
   \bTR
     \bTD 6 acre vines \eTD
   \eTR
   \bTR
     \bTD 4 acre open \eTD
   \eTR
\eTABLE

\stoptext

Aditya


More information about the ntg-context mailing list