settobox – Assigning dimensions of a box to a length register
Commands to assist the reuse of boxes (set up by \sbox or by the lrbox environment); the \settobox... commands behave similarly to the \settowidth (etc.) commands. For example:
\newsavebox{\mybox}
\newlength{\mylength}
\sbox{\mybox}{Hello World}
\settoboxwidth{\mylength}{\mybox}
| Sources | /macros/latex/contrib/oberdiek/settobox.dtx |
| Documentation | |
| Version | 1.5 2016-05-16 |
| Licenses | The LaTeX Project Public License 1.3 |
| Copyright | 2000, 2006–2008 Heiko Oberdiek |
| Maintainer | Heiko Oberdiek |
| TDS archive | oberdiek.tds.zip |
| Contained in | TeX Live as oberdiek MiKTeX as oberdiek |
| Topics | Boxing |
Suggestions
Maybe you are interested in the following packages as well.
Community Comments