%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Simon Moore, University of Cambridge, Computer Laboratory
% Please use freely (it's just a hack!)
% Source from: http://www.cl.cam.ac.uk/~swm11/letters/index.html
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{/homes/swm11/texmacros/letters/labfax98}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Example of Simon's Lab Fax Class for 1998
%
% Class Options:
%  usecmfont    - uses computer modern font rather than Sabon (works
%                 better with xdvi
%  usetimesfont - uses times font rather than Sabon
%
%  e.g.:
%  \documentclass[usecmfont,usebwarms]{/homes/swm11/texmacros/letters/labfax98}
%
% Compulsory commands:
%  \fromwhome{your name}{email}{phone}{fax}
%  \begin{fax}{their name}{their institution}{their fax number}
%  \end{fax}
%
% Extra commands:
%  \setdate{date string}
%  \totalpages{number of pages}
%
% An example of use is available here:
%   /homes/swm11/texmacros/letters/labfax98eg.tex

\usepackage{fancybox} % just used for \VerbatimInput in example

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Insert your personal details here
% {name}{email}{phone}{fax}
\fromwhom{Simon Moore}{swm11@cl.cam.ac.uk}{+44 1223 334657}{+44 1223 334678}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A simple fax

\setdate{5\textsuperscript{th} June, 1998}

\begin{fax}{Dr Who}{Institution}{Their Fax Number}{Subject Header}

This fax class roughly conforms to the official university House Style
Guidelines.

The source for this example fax explains how to use it (see below).
Please note that you will have to run it through latex twice so that
the number of pages can be counted.  The total page count may be
altered using the \verb/\totalpages{new number}/ command.

\hfill{\it Simon Moore}

\vspace*{12pt}
{\fontsize{9pt}{10pt}\VerbatimInput{labfax98eg.tex}}

\end{fax}

\end{document}
