((BD Tech Concepts logo))

BD Tech Concepts LLC

keyfloat package

The keyfloat package provides a key/value user interface for quickly creating figures, or custom float types, with a single image each, figures with arbitrary contents, tables, subfloats, rows of floats, floats [H]ere, in the [M]argin, or with text [W]rapped around them.

Key/value combinations may specify a caption and label, a width proportional to \linewidth, a fixed width and/or height, rotation, scaling, a tight or loose frame, an \arraystretch, a continued float, additional supplemental text, and an artist/author’s name with automatic index entry. When used with the tocdata package, the name also appears in the List of Figures.

Floats may be placed into a row environment, and are typeset to fit within the given number of columns, continuing to the next row if necessary. Nested sub-rows may be used to generate layouts such as two small figures placed vertically next to one larger figure.

Subfloats are supported by two environments. As an example, a typical command to include a figure with a framed image of half \linewidth could be:

\keyfig[hbp]{f,lw=.5,c={A caption},l={fig:label}}{image}

Keyfloat introductory white paper

For an introduction to the keyfloat package, please see the publication A key/value interface for generating floats: the keyfloat package.

Latest News

v2.01:

Added keyfloats and keysubfloats [M] and [W]. Fixed KomaScript, font and color. Improved vertical space.

v2.00:

Added custom float types and float authors.

Download

Download the keyfloat package from the keyfloat page on CTAN — the Comprehensive Archive Network, or use your distribution’s update tools.

The keyfloat v2.01 manual is also available here.

(image)

(image)

Figure 49: keyfloat Samples