* \setupwhitespace and Natural Table paragraphs
@ 2015-08-17 21:05 Pavneet Arora
2015-08-18 9:43 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Pavneet Arora @ 2015-08-17 21:05 UTC (permalink / raw)
To: ConTeXt Mailing list
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \setupwhitespace and Natural Table paragraphs
2015-08-17 21:05 \setupwhitespace and Natural Table paragraphs Pavneet Arora
@ 2015-08-18 9:43 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2015-08-18 9:43 UTC (permalink / raw)
To: Pavneet Arora, mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 671 bytes --]
> Pavneet Arora <mailto:pavneet_arora@waroc.com>
> 17. August 2015 23:05
> 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 are three ways how you can set the parskip value in a table cell.
\startsetups[table:whitespace]
\setupwhitespace[medium]
\stopsetups
\starttext
\bTABLE
\bTR
\bTD \setupwhitespace[medium] \input knuth \eTD
\eTR
\bTR
\bTD[style={\setupwhitespace[medium]}] \input knuth \eTD
\eTR
\bTR
\bTD[setups=table:whitespace] \input knuth \eTD
\eTR
\eTABLE
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1794 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-18 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-17 21:05 \setupwhitespace and Natural Table paragraphs Pavneet Arora
2015-08-18 9:43 ` Wolfgang Schuster
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).