From: Henry House <hajhouse@hajhouse.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: creating multirow curly brace in tables to symbolize row span
Date: Thu, 20 Aug 2015 10:57:53 -0700 [thread overview]
Message-ID: <20150820175753.GF4486@houseag.com> (raw)
In-Reply-To: <20150819210551.GH26883@kip-desktop>
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).
I've tried, probably naively, the following approach, using the unicode symbols
for the bracket pieces and alternatively using math-mode symbols found in
http://meeting.contextgarden.net/2011/talks/day3_05_ulrik_opentype/Samples/unimath-symbols.pdf
"Every symbol defined by unicode-math". The symbols are recognized in neither
form, unfortunately.
Any suggestions on how I can either make these symbols render, or a different
approach to achieve my goal?
Complete test document:
\enableregime[utf]\setuppapersize[letter][letter]
\usetypescript[serif,sans,mono][hanging][normal]
\setupalign[hanging]
\usetypescript[modern-base][texnansi]
\setupbodyfont[reset]
\setupbodyfont[modern]
\definetypeface[boldmath][mm][boldmath][modern][default]
\usemodule[cmscbf]
\usemodule[unicode-math]
\setupbodyfont[11pt]
\starttext
\bTABLE
\bTR{}\bTD{}Parcel \eTD\bTD{} \eTD\bTD Area \eTD\eTR%
\bTR{}\bTD{} \eTD\bTD{}\mathematics{\lbraceuend} \eTD\bTD 1 \eTD\eTR%
\bTR{}\bTD{}parcel 2 \eTD\bTD{}\mathematics{\lbracemid} \eTD\bTD 2 \eTD\eTR%
\bTR{}\bTD{} \eTD\bTD{}\mathematics{\lbracelend} \eTD\bTD 3 \eTD\eTR%
\eTABLE
\bTABLE
\bTR{}\bTD{} \eTD\bTD{}⎧ \eTD\bTD 1 \eTD\eTR%
\bTR{}\bTD{}parcel 4 \eTD\bTD{}⎨ \eTD\bTD 2 \eTD\eTR%
\bTR{}\bTD{} \eTD\bTD{}⎩ \eTD\bTD 3 \eTD\eTR%
\eTABLE
\stoptext
--
Henry House
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2015-08-20 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 21:05 Bad PDF to text crawlers Kip Warner
2015-08-19 21:35 ` Peter Münster
2015-08-20 16:43 ` Kip Warner
2015-08-20 17:57 ` Henry House [this message]
2015-08-20 18:05 ` creating multirow curly brace in tables to symbolize row span Aditya Mahajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150820175753.GF4486@houseag.com \
--to=hajhouse@hajhouse.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).