Command/placenamedfloat

From ConTeXt wiki
< Command
Revision as of 22:04, 21 March 2013 by Esteis (talk | contribs) (Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

\placenamedfloat

Syntax

\placenamedfloat[float type][pattern]
float type figure, graphic, table, intermezzo, or something else defined by \definefloat
pattern text

Description

If a float is placed (with \placefloat) location argument somewhere:name, it is not placed immediately. Instead, it may be manually placed elsewhere with \placenamedfloat.

Example

This example declares four figures to be placed elsewhere: alpha, beta, gamma, and delta. The first \placenamedfloat call places all figures with l in their name (i.e. alpha and delta; the next two calls place gamma and beta, respectively.

\starttext

test \placefigure[somewhere:alpha][whatever]{alpha}{}
test \placefigure[somewhere:beta] [whatever]{beta}{}
test \placefigure[somewhere:gamma][whatever]{gamma}{}
test \placefigure[somewhere:delta][whatever]{delta}{}
test \placefigure{}{}

in \in{figure}[whatever] bla bla

\placenamedfloat[figure][*l*]

\placenamedfloat[figure][gamma]
\placenamedfloat[figure][beta]

\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: