The TeX Catalogue Online

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.

See also gincltex collectbox realboxes.

The author is Martin Scharrer. The package is Copyright © 2011 Martin Scharrer.

License: lppl1.3 Version: 1.0 Catalogued: 2015-08-03