ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Spacebefore and spaceafter a Float
@ 2018-05-28 13:30 John Grasty
  2018-05-30 15:12 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: John Grasty @ 2018-05-28 13:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I am trying to adjust the space between my tables and the body text. Below is a minimal example. My problem is that I can seem to get the before= or after= to do anything no matter what command I enter. I have also tried spacebefore= and spaceafter=

Any idea what I'm doing wrong?

Sincerely,
John Grasty








\setupfloat[table][before={\blank[2*big]}]


\setupxtable[frame=off]
\setupxtable[head][topframe=on,bottomframe=on]
\setupxtable[body][]
\setupxtable[foot][bottomframe=on]


\starttext

\input douglas

\startplacetable[title={Cost Overview}]
\startxtable
\startxtablehead[head]
\startxrow
\startxcell[align=right]  \stopxcell
\startxcell[align=right] (\$) \stopxcell
\stopxrow
\stopxtablehead
\startxtablebody[body]
\startxrow
\startxcell[align=right] Lodging \stopxcell
\startxcell[align=right] 150 \stopxcell
\stopxrow
\startxrow
\startxcell[align=right] Fee \stopxcell
\startxcell[align=right] 160 \stopxcell
\stopxrow
\startxrow
\startxcell[align=right] Meals \stopxcell
\startxcell[align=right] 100 \stopxcell
\stopxrow
\startxrow
\startxcell[align=right] Van \stopxcell
\startxcell[align=right] 175 \stopxcell
\stopxrow
\stopxtablebody
\startxtablefoot[foot]
\startxrow
\startxcell[align=right] Other Outings \stopxcell
\startxcell[align=right] 40 \stopxcell
\stopxrow
\stopxtablefoot
\stopxtable
\stopplacetable

\input douglas

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-30 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-28 13:30 Spacebefore and spaceafter a Float John Grasty
2018-05-30 15:12 ` Aditya Mahajan

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).