Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/adjustbox

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

Down­load the con­tents of this pack­age in one zip archive (789.1k).

ad­just­box – Graph­ics pack­age-alike macros for “gen­eral” boxes

The pack­age pro­vides sev­eral macros to ad­just boxed con­tent. One pur­pose is to sup­ple­ment the stan­dard graph­ics pack­age, which de­fines the macros \re­size­box, \scale­box and \ro­tate­box , with the macros\trim­box and \clip­box. The main fea­ture is the gen­eral \ad­just­box macro which ex­tends the “key=value” in­ter­face of \in­clude­graph­ics from the graph­ics pack­age and ap­plies it to gen­eral text con­tent. Ad­di­tional pro­vided box macros are \lap­box, \margin­box, \min­size­box, \max­size­box and \phan­tombox.

All macros use the col­lect­box pack­age to read the con­tent as a box and not as a macro ar­gu­ment. This al­lows for all forms of con­tent in­clud­ing spe­cial ma­te­rial like ver­ba­tim con­tent. A spe­cial fea­ture of col­lect­box is used to pro­vide match­ing en­vi­ron­ments with the iden­ti­cal names as the macros.

Li­cense The Project Public Li­cense 1.3
Copy­right2011 Martin Schar­rer
Main­tainerMartin Schar­rer
TDS archiveadjustbox.tds.zip
Con­tained inTeX Live as ad­just­box
MiKTeX as ad­just­box
Topics sup­port for vari­a­tions of ty­po­graphic style
ma­nip­u­lat­ing boxes
See also gincltex
Guest Book Sitemap Contact Contact Author