[NTG-context] Variable Caption Locations

Hans Hagen pragma at wxs.nl
Sat Apr 8 22:51:54 CEST 2006


tbrowder wrote:
> I need to have captions ABOVE tables but below all other float types.  The
> default is below, and I know I can do something like
>
> {
> setupcaptions[location=top]
> \placetable...
> }
>
> for each table.
>
> But is there a more elegant way to do it globally?  Could ConTeXt have a
> separate global setup for each type of float caption?
>   
\definefloat[mytable][mytables][table

\setupcaption[mytable][location=top]

\placemytable{}{}

(details.pdf has more info on that) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list