get height on a block of latex output

Posted by georg raba on Stack Overflow See other posts from Stack Overflow or by georg raba
Published on 2010-05-30T16:30:20Z Indexed on 2010/05/30 16:42 UTC
Read the original article Hit count: 318

Filed under:

Hello, I am trying to determine how to get the height on a block of latex output (not the whole document, and not the code..but rather a block of output). As an example of what I am trying to accomplish: i were to have the latex code

$\sum_{i=0}^\infty \frac{1}{n}>\infty$ \newline hello world \newline hello universe

its output would be something like 2 inches high. Of course, the height of the above block of text is dependent on a number of things-font, margin size, etc, as changing any of these parameters changes how many inches that output would be.

Is there a command/package that does this?

Thanks in advance!

Georg Raba

© Stack Overflow or respective owner

Related posts about latex