Monthly Archives: April 2009

A short style file for a memo header for use with amsart

I recently had to write a memo. After playing around a bit, I decided on the amsart documentclass. I wrote a style file to define the memo header; I think it looks good with the general style of the amsart class.

The contents of the style file are:

\ProvidesPackage{memo}

\RequirePackage{setspace}

\newcommand{\memotopline
}[2]{{%
\noindent\sc #1}{\begin{quote}#2\end{quote}}}

\newenvironment{memoheader}[1]
{
    \singlespacing
        \begin{center}
            \large\sc\noindent  #1
        \end{center
}
        \noindent\underline{\hspace{%
            \textwidth}}\vspace{.4cm}\\
}
{
    \noindent\underline{\hspace{\textwidth}}
}

Save the contents to memo.sty and save it in the directory with your memo. This defines the memoheader and \memotopline environments which are used like so:

\begin{memoheader}{Memorandum}
    \memotopline{To:}{
        You\\
        Someone With An Important Title\\
        Somewhere
    }
    \memotopline{From:}{
        Me\\
        A Very Important Person\\
        At A Very Important Place
    }
    \memotopline{Date:}{\today}
    \memotopline{Subject:}{Check me out!}
\end{memoheader
}

The memo template looks like:

\documentclass[11pt]{amsart}

\usepackage{lipsum}

\usepackage[margin=1.2in]{geometry}
\usepackage[parfill]{parskip}
\usepackage{memo}

\usepackage{hyperref}

\begin{document}

\thispagestyle{empty}

\begin{memoheader}{Memorandum}
    \memotopline{To:}{
        You\\
        Someone With An Important Title\\
        Somewhere
    }
    \memotopline{From:}{
        Me\\
        A Very Important Person\\
        At A Very Importnat PLace
    }
    \memotopline{Date:}{\today}
    \memotopline{Subject:}{Check me out!}
\end{memoheader}

\onehalfspacing

\section*{Summary
}
\lipsum


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Introduction}
\lipsum

\end{document
}