AZ logo

CTAN directory: /macros/latex/contrib/adjustbox

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
adjustbox Graphics package-alike macros for “general” boxes.

Files

Name Size* Date UTC Notes
README 2 KiB 2012-May-21 Shown below
adjcalc.dtx 16 KiB 2012-May-21
adjcalc.pdf 149 KiB 2012-May-21
adjustbox.dtx 141 KiB 2012-May-21
adjustbox.ins 1 KiB 2012-May-21
adjustbox.pdf 286 KiB 2012-May-21
trimclip.dtx 65 KiB 2012-May-21
trimclip.pdf 310 KiB 2012-May-21

  *File sizes in kibibytes.

Contents of README

LaTeX bundle adjustbox
=========================
Copyright (c) 2011-2012 by Martin Scharrer <martin@scharrer-online.de>  
WWW: <https://bitbucket.org/martin_scharrer/adjustbox> (incl. bug tracker)

This bundle contains the the adjustbox package and its auxiliary packages trimclip and adjcalc.
The initial purpose of adjustbox was to supplement the standard graphics/x package, 
which defines the macros \resizebox, \scalebox and \rotatebox, with the macros \trimbox and \clipbox.
An additional \marginbox macro is also provided.
These macros are now placed in the dedicated package trimclip which is loaded by adjustbox.
The package comes with clipping driver files are provided for pdftex (incl. LuaLaTeX), dvips and xetex. A
fall-back driver which uses the pgf package is still included. 
The driver files got written by Joseph Wright (LaTeX3 project) and the package author.

The main feature of adjustbox is the general \adjustbox macro which extends the key=value
interface of \includegraphics from the graphicx package, and applies it to general text
content. It also provides further text/box modifications keys, macros and envionments.

Both adjustbox and trimclip use the adjcalc package to allow for algebraic expressions for all length
arguments. The adjcalc package can use either e-TeX, the calc package or the pgfmath package.

All macros use the authors other package collectbox to read the content as box and not as
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.