CTAN Comprehensive TeX Archive Network

CTAN Up­date: ad­just­box

Date: Au­gust 13, 2011 5:12:44 PM CEST
On Sat, 13 Aug 2011 Martin Schar­rer sub­mit­ted an up­date to the ad­just­box pack­age. Li­cense type: lppl An­nounce­ment text:
This ma­jor up­date pro­vides the fol­low­ing new fea­tures: * Ad­di­tional pro­vided box macros: \lap­box, \margin­box, \min­size­box, \max­size­box and \phan­tombox. * Ad­di­tional key op­tions for \ad­just­box which can be ex­ported for \in­clude­graph­ics as well. * Now uses the au­thors other pack­age 'col­lect­box' which is based on the orig­i­nal used code. * The trim­ming op­er­a­tion is now done us­ing only TeX code. * The clip­ping op­er­a­tion is now im­ple­mented us­ing na­tive pdf­tex com­mands. Other out­put drivers will still use PGF as back-end. * Now uses e-TeX \glue­expr by de­fault to parse all length ar­gu­ments, but can be con­fig­ured to use the 'calc' pack­age or the \pgf­setlength macro of PGF. Older doc­u­ments might re­quire now the 'pgf­math' op­tion to be used if they in­cluded pgf­math ex­pres­sions.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/ad­just­box . More in­for­ma­tion is at http://www.ctan.org/pkg/ad­just­box (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html . Thanks for the up­load. For the CTAN Team Rainer Schöpf

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.

Ver­sion1.2 2019-01-04
Copy­right2011–2019 Martin Schar­rer
Main­tainerMartin Schar­rer



Guest Book Sitemap Contact Contact Author