[texhax] Measurements inside TeX
Uwe Lueck
uwe.lueck at web.de
Wed Jun 23 11:54:07 CEST 2010
Mukund R <muxdevil.m at gmail.com> 23.06.2010 11:18:26:
> Is there some way I can determine the height and width of a certain block of text
> in TeX?
[...]
> In fact, a macro of the type \currenty will do, so that I can then do
> something like: \vspace{availabley - \currenty}
\vspace indicates that you are using LaTeX (XeLaTeX), so consider \settoheight, \settowidth, and \settodepth, cf.
http://en.wikibooks.org/wiki/LaTeX/Useful_Measurement_Macros
HTH -- Uwe.
More information about the texhax
mailing list