Repository created.
[chemdb.git] / docs / inventory_template.tex
1 % \documentclass[letterpaper]{article} % line moved to main.
2 % Paper for posting on the lab door
3 % as per 
4
5 % setup the margins,
6 \topmargin -0.5in
7 \headheight 0.0in
8 \headsep 0.0in
9 \textheight 9.5in % leave a bit of extra room for page numbers
10 \oddsidemargin -0.5in
11 \textwidth 7.5in
12
13 %% Graphics packages
14
15 \usepackage{graphicx}   % to include images
16 % if pdftex doesn't recognize the type, it's mps
17 % DeclareGraphicsRule{ext}{type}{sizefile}{command}
18 \DeclareGraphicsRule{*}{mps}{*}{}
19 % latex and latex2html can handle Metapost's eps output without modification
20
21 % N of M style page numbering
22 \usepackage{fancyhdr}
23 \pagestyle{fancy}
24 \usepackage{lastpage}
25 \cfoot{\thepage\ of \pageref{LastPage}}
26 % Turn off the silly head and foot rules
27 \renewcommand{\headrule}{\relax}
28 \renewcommand{\footrule}{\relax}
29
30 % Break the table across several pages
31 % requires 2 latex runs.
32 \usepackage{longtable}
33
34 % define a vertical strut for table spacing
35 \newcommand{\Tstrut}{\rule{0pt}{2.6ex}}
36 \newcommand{\headfont}{\Large}
37 \newcommand{\contfont}{\large}
38 \newcommand{\vspacer}{\vskip 12pt}
39
40 %-----------------------end preamble-------------------------
41
42 \begin{document}
43
44 \begin{center}
45 {\headfont Inventory}\\
46 \contfont
47 Generated \today\ by chem\_db.py\\
48 \vskip 10pt
49 \end{center}
50
51 \footnotesize
52 \input{inventory_data}
53
54 \end{document}