ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Grasty <johnpgrasty@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Spacebefore and spaceafter a Float
Date: Mon, 28 May 2018 15:30:34 +0200	[thread overview]
Message-ID: <F02F2937-10A1-4A84-8A22-D49430954768@gmail.com> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2018-05-28 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-28 13:30 John Grasty [this message]
2018-05-30 15:12 ` 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=F02F2937-10A1-4A84-8A22-D49430954768@gmail.com \
    --to=johnpgrasty@gmail.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).