[texhax] Determine height of surrounding minipage

Donald Arseneau asnd at triumf.ca
Fri Jan 14 00:24:10 CET 2011


Müller  Kirill <kirill.mueller at ivt.baug.ethz.ch> writes:

> is there something like the equivalent of \textheight for the surrounding minipage, assuming that the height of the surrounding minipage is set explicitly?
> 
> \begin{minipage}[t][5cm][s]{3cm}
> % How do I find out here that this minipage is 5cm tall?
> \end{minipage}

No there is not.  The argument is saved in \@mpargs which you
could parse if you are desperate.  There is no way whatsoever
for the equivalent \parbox.

-- 
Donald Arseneau                          asnd at triumf.ca



More information about the texhax mailing list