ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Spacebefore and spaceafter a Float
Date: Wed, 30 May 2018 11:12:04 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.76.44.1805301106070.10647@ervasbepr.pvz.zptvyy.pn> (raw)
In-Reply-To: <F02F2937-10A1-4A84-8A22-D49430954768@gmail.com>

On Mon, 28 May 2018, John Grasty wrote:

> 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=

This was crossposted to tex stackexchange where Metafox replied:

<quote>
Some environment with instances let you set certain options only for all 
instances and not only a single one, the spacebefore and spaceafter 
settings for floats are such a option.

This means only the following setup is possible

\setupfloat
   [spacebefore=2*line,
     spaceafter=2*line]

but not this one where I change only the values for the table instance.

\setupfloat
   [table]
   [spacebefore=2*line,
     spaceafter=2*line]

</quote>

I am curious as to why this design choice was made. Does it make sense to 
change these to per-instance (basically change `\rootfloatparameter` with 
`floatparameter` in page-flt.mkiv).

Aditya

___________________________________________________________________________________
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-30 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-28 13:30 John Grasty
2018-05-30 15:12 ` Aditya Mahajan [this message]

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=nycvar.YAK.7.76.44.1805301106070.10647@ervasbepr.pvz.zptvyy.pn \
    --to=adityam@umich.edu \
    --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).