Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

settobox – Assigning dimensions of a box to a length register

Com­mands to as­sist the reuse of boxes (set up by \sbox or by the lr­box en­vi­ron­ment); the \set­to­box... com­mands be­have sim­i­larly to the \set­towidth (etc.) com­mands. For ex­am­ple:

      \newsavebox{\mybox}
      \newlength{\mylength}
      \sbox{\mybox}{Hello World}
      \settoboxwidth{\mylength}{\mybox}
    

Sources/macros/latex/contrib/oberdiek/settobox.dtx
Doc­u­men­ta­tion
Ver­sion1.4
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2000,2006-2008 Heiko Oberdiek
Main­tainerHeiko Oberdiek
TDS archiveoberdiek.tds.zip
Con­tained inTeXlive as oberdiek
MikTeX as oberdiek
Topics cre­at­ing boxes
Guest Book Sitemap Contact