* \placefigure padding
@ 2012-03-11 3:12 Kip Warner
2012-03-11 9:01 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Kip Warner @ 2012-03-11 3:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1443 bytes --]
Hey list,
The following minimal typesets a dummy figure. Note how there is about
two lines of empty space below the figure. How do I control the amount
of padding that surrounds the figure, such as the bottom?
\setupexternalfigures
[frame=off,
corner=rectangular,
rulethickness=0.5pt]
\starttext
\placefigure
[right, 2*hang]
[figure:SomeFigure]
{Caption}
{\externalfigure[SomeFigure.pdf][][width=.2\textwidth]}
This is a bunch of text. This is a bunch of text. This is a bunch of
text. This is a bunch of text. This is a bunch of text. This is a bunch
of text. This is a bunch of text. This is a bunch of text. This is a
bunch of text. This is a bunch of text. This is a bunch of text. This is
a bunch of text. This is a bunch of text. This is a bunch of text. This
is a bunch of text. This is a bunch of text. This is a bunch of text.
This is a bunch of text. This is a bunch of text. This is a bunch of
text. This is a bunch of text. This is a bunch of text. This is a bunch
of text. This is a bunch of text. This is a bunch of text. This is a
bunch of text. This is a bunch of text. This is a bunch of text. This is
a bunch of text. This is a bunch of text. This is a bunch of text. This
is a bunch of text. This is a bunch of text. This is a bunch of text.
\stoptext
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 3+ messages in thread
* Re: \placefigure padding
2012-03-11 3:12 \placefigure padding Kip Warner
@ 2012-03-11 9:01 ` Wolfgang Schuster
2012-03-12 5:13 ` Kip Warner
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-03-11 9:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 11.03.2012 um 04:12 schrieb Kip Warner:
> Hey list,
>
> The following minimal typesets a dummy figure. Note how there is about
> two lines of empty space below the figure. How do I control the amount
> of padding that surrounds the figure, such as the bottom?
With
\setupfloats
[spacebefore=…,
spaceafter=…]
you can control the space before and after the float, accepted are all values for \blank (dimensions and keywords).
Wolfgang
___________________________________________________________________________________
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] 3+ messages in thread
* Re: \placefigure padding
2012-03-11 9:01 ` Wolfgang Schuster
@ 2012-03-12 5:13 ` Kip Warner
0 siblings, 0 replies; 3+ messages in thread
From: Kip Warner @ 2012-03-12 5:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 648 bytes --]
On Sun, 2012-03-11 at 10:01 +0100, Wolfgang Schuster wrote:
> \setupfloats
> [spacebefore=,
> spaceafter=]
>
> you can control the space before and after the float, accepted are all values for \blank (dimensions and keywords).
That's probably the command I need, but I can't find any useful
documentation for it. I found this on the wiki, but all of the different
parameters aren't explained:
http://wiki.contextgarden.net/Reference/en/setupfloats
The User Manual PDF doesn't elaborate on the parameters either much.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 3+ messages in thread
end of thread, other threads:[~2012-03-12 5:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-11 3:12 \placefigure padding Kip Warner
2012-03-11 9:01 ` Wolfgang Schuster
2012-03-12 5:13 ` Kip Warner
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).