# [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{}{}

Hans

-----------------------------------------------------------------