title: Printing out LaTeX Variables
body: <p>I am using a LaTeX class file which sets various parameters such as margins, line spacing, ... according to the parameters passed to it. For some reason, the end result does not look right. Some margins are not properly set. I'd like to print out the values of various variables that LaTeX have computed along the way to see where the problem is. For instance, I'd like to know what the value of <code>\oddsidemargin</code> is in a certain line of code. Is there a way to ask LaTeX to print out such information?</p>