AZ logo

Package adjustbox:
Graphics package-alike macros for “general” boxes.

The package provides several macros to adjust boxed content. One purpose is to supplement the standard graphics package, which defines the macros \resizebox, \scalebox and \rotatebox , with the macros\trimbox and \clipbox. The main feature is the general \adjustbox macro which extends the “key=value” interface of \includegraphics from the graphics package and applies it to general text content. Additional provided box macros are \lapbox, \marginbox, \minsizebox, \maxsizebox and \phantombox.

All macros use the collectbox package to read the content as a box and not as a macro argument. This allows for all forms of content including special material like verbatim content. A special feature of collectbox is used to provide matching environments with the identical names as the macros.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX adjustbox
TeX Live adjustbox

You can also visit adjustbox's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Readme
Package documentation
Documentation off CTAN -none known-
Maintainers
Martin Scharrer
Version 1.0
License LaTeX Project Public License, version 1.3 or later
Related packages
gincltex:
Include TeX files as graphics (.tex support for \includegraphics).
collectbox:
Collect and process macro arguments as boxes.
realboxes:
Variants of common box-commands that read their content as real box and not as macro argument.
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Box manipulation

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.