bookmark

adjustbox: Graphics package-alike macros for “general” boxes


Description

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.

Preview

Tags

Users

  • @thorade

Comments and Reviews