%auto-ignore
%%%%%% a hack to make the documentclass name available later %%%
% Thanks to Morten H�gholm. I stole this code from 
% http://groups.google.com/group/comp.text.tex/msg/142306cc7f8acdac
\let\LaTeXdocumentclass\documentclass
\renewcommand*\documentclass[2][]{%
   \newcommand*\ClassName{#2}% for later use
   \LaTeXdocumentclass[#1]{#2}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
