Possible Duplicate:
Where do I find out how a command/environment is defined?
Is there a way I can get LaTeX environment for a given set-up?
For example I want to get the value of some parameter (such as \pagewidth), or a definition of some macros (such as \@partend). Can I make LaTeX print that information -- of do I have to go down to the sty files for that?