From: Pavneet Arora <pavneet_arora@waroc.com>
To: ConTeXt Mailing list <ntg-context@ntg.nl>
Subject: \setupwhitespace and Natural Table paragraphs
Date: Mon, 17 Aug 2015 17:05:22 -0400 [thread overview]
Message-ID: <20150817210522.GZ23793@darjiling> (raw)
I am trying to find the most effective way of changing paragraph spacing
for paragraphs inside table cells, without resorting to explicit \blank
directives.
Here is a MWE to show what I mean. Outside of the table, the paragraph
spacing seems to honour the \setupwhitespace directive. Not so inside
the table. Curiously, though, the default enumeration inside the table
*does* seem to honour \setupwhitespace, which you can affect using the
before, after and inbetween options, as shown in the commented
\startitemize line.
advTHANKSance
>>>> MWE
% Change spacing
\setupwhitespace[big]
\setupinterlinespace[3.8ex]
\starttext
\input ward
\input ward
\midaligned{%
\setupTABLE[frame=off]%
\setupTABLE[offset=1em]%
\setupTABLE[r][each][topframe=on,bottomframe=on]%
\setupTABLE[c][1][align={flushleft,high},width=1.5in]%
\setupTABLE[c][2][align={flushleft,lohi},width=4.0in]%
\bTABLE
\bTABLEbody
\bTR
\bTD {\bf 2014--2015} \eTD
\bTD
\input ward
\input ward
\blank
\input ward
\eTD
\eTR
\bTR
\bTD {\bf 2013--2014} \eTD
\bTD
\input ward
% \startitemize[before={\blank[small]},after={\blank[small]},inbetween={\blank[medium]}]
\startitemize
\item Item one.
\item Item two.
\item Item three.
\stopitemize
\eTD
\eTR
\eTABLEbody
\eTABLE
}
\stoptext
<<<<
--
----
Pavneet Arora m: 647.406.6843
Waroc Informatik t: 416.937.9276
___________________________________________________________________________________
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 reply other threads:[~2015-08-17 21:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 21:05 Pavneet Arora [this message]
2015-08-18 9:43 ` Wolfgang Schuster
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=20150817210522.GZ23793@darjiling \
--to=pavneet_arora@waroc.com \
--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).