# [texhax] calculate length using macro in picture environment to use elsewhere

Wed Sep 2 20:15:39 CEST 2009

```On Sep 2, 2009, at 1:04 PM, William Adams wrote:

> (Also posted this to comp.text.tex --- my apologies to those who see
> it twice. I'm at the end of my rope)
>
> I'm trying to do this, but the length outside of the picture
> environment is 0.0 pt.

Heiko was kind enough to explain the local aspects of LaTeX lengths on
comp.text.tex and that the solution is to

\global\testboxHT=\testboxHT

William

--