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
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
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
participants (2)
-
Kip Warner
-
Wolfgang Schuster