ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupfloat[Myfloat] does not work
@ 2012-02-07 12:13 Steffen Wolfrum
  2012-02-07 13:18 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2012-02-07 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I want to set up individual floats with different spaces before/after.

Setting the frame on/off works,
but the spaces show no effect:


\definefloat[Myfigure][Myfigures]
\setupfloat[Myfigure][frame=on,spacebefore=200pt,spaceafter=300pt]

\starttext

test

\placeMyfigure{example}{{\externalfigure[foo][frame=off]}}%

text

\stoptext



Steffen
___________________________________________________________________________________
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] 2+ messages in thread

* Re: setupfloat[Myfloat] does not work
  2012-02-07 12:13 setupfloat[Myfloat] does not work Steffen Wolfrum
@ 2012-02-07 13:18 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-02-07 13:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.02.2012 um 13:13 schrieb Steffen Wolfrum:

> Hi,
> 
> I want to set up individual floats with different spaces before/after.
> 
> Setting the frame on/off works,
> but the spaces show no effect:
> 
> 
> \definefloat[Myfigure][Myfigures]
> \setupfloat[Myfigure][frame=on,spacebefore=200pt,spaceafter=300pt]
> 
> \starttext
> 
> test
> 
> \placeMyfigure{example}{{\externalfigure[foo][frame=off]}}%
> 
> text
> 
> \stoptext

ConTeXt allows only a global values (\setupfloats) for spacebefore and spaceafter.

This is only the current state and only Hans can answer why he made this decision.

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] 2+ messages in thread

end of thread, other threads:[~2012-02-07 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 12:13 setupfloat[Myfloat] does not work Steffen Wolfrum
2012-02-07 13:18 ` Wolfgang Schuster

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