| 1 |
LaTeX bundle adjustbox |
| 2 |
======================== |
| 3 |
Copyright (c) 2011-2025 by Martin Scharrer <[email protected]> |
| 4 |
License: LaTeX Project Public License, v1.3 or later: http://www.latex-project.org/lppl.txt |
| 5 |
Repository: https://github.com/MartinScharrer/adjustbox |
| 6 |
Issues: https://github.com/MartinScharrer/adjustbox/issues |
| 7 |
|
| 8 |
This bundle contains the the adjustbox package and its auxiliary packages trimclip and adjcalc. |
| 9 |
The initial purpose of adjustbox was to supplement the standard graphics/x package, |
| 10 |
which defines the macros \resizebox, \scalebox and \rotatebox, with the macros \trimbox and \clipbox. |
| 11 |
An additional \marginbox macro is also provided. |
| 12 |
These macros are now placed in the dedicated package trimclip which is loaded by adjustbox. |
| 13 |
The package comes with clipping driver files are provided for pdftex (incl. LuaLaTeX), dvips and xetex. A |
| 14 |
fall-back driver which uses the pgf package is still included. |
| 15 |
The driver files got written by Joseph Wright (LaTeX3 project) and the package author. |
| 16 |
|
| 17 |
The main feature of adjustbox is the general \adjustbox macro which extends the key=value |
| 18 |
interface of \includegraphics from the graphicx package, and applies it to general text |
| 19 |
content. It also provides further text/box modifications keys, macros and envionments. |
| 20 |
|
| 21 |
Both adjustbox and trimclip use the adjcalc package to allow for algebraic expressions for all length |
| 22 |
arguments. The adjcalc package can use either e-TeX, the calc package or the pgfmath package. |
| 23 |
|
| 24 |
All macros use the authors other package collectbox to read the content as box and not as |
| 25 |
macro argument. This allows for all forms of content including special material like verbatim content. |
| 26 |
A special feature of collectbox is used to provide matching environments with the identical names as the |
| 27 |
macros. |
| 28 |
|
| 29 |
[](http://www.latex-project.org/lppl/) |
| 30 |
[](http://www.ctan.org/pkg/adjustbox) |
| 31 |
[](https://github.com/MartinScharrer/adjustbox/issues ) |