% \documentclass[letterpaper]{article} % line moved to main.
% Paper for posting on the lab door
% as per 

% setup the margins,
\topmargin -0.5in
\headheight 0.0in
\headsep 0.0in
\textheight 9.5in % leave a bit of extra room for page numbers
\oddsidemargin -0.5in
\textwidth 7.5in

%% Graphics packages

\usepackage{graphicx}   % to include images
% if pdftex doesn't recognize the type, it's mps
% DeclareGraphicsRule{ext}{type}{sizefile}{command}
\DeclareGraphicsRule{*}{mps}{*}{}
% latex and latex2html can handle Metapost's eps output without modification

% N of M style page numbering
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{lastpage}
\cfoot{\thepage\ of \pageref{LastPage}}
% Turn off the silly head and foot rules
\renewcommand{\headrule}{\relax}
\renewcommand{\footrule}{\relax}

% Break the table across several pages
% requires 2 latex runs.
\usepackage{longtable}

% define a vertical strut for table spacing
\newcommand{\Tstrut}{\rule{0pt}{2.6ex}}
\newcommand{\headfont}{\Large}
\newcommand{\contfont}{\large}
\newcommand{\vspacer}{\vskip 12pt}

%-----------------------end preamble-------------------------

\begin{document}

\begin{center}
{\headfont Inventory}\\
\contfont
Generated \today\ by chem\_db.py\\
\vskip 10pt
\end{center}

\footnotesize
\input{inventory_data}

\end{document}
