adjustbox

Graphics package-alike macros for “general” boxes

Version:
1.3a
Copyright:
Martin Scharrer
License:
lppl1.3
Packaged on:
11/01/2022 21:11:30
Number of files:
8
Size on disk:
87.29 kB

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.