| 1 |
\documentclass{article} |
| 2 |
\usepackage{mltex} |
| 3 |
\usepackage{wrapfig} |
| 4 |
\usepackage{float} |
| 5 |
%\usepackage{floatfig} |
| 6 |
\usepackage{fancyheadings} |
| 7 |
%\usepackage{draftcopy} |
| 8 |
%\usepackage{bookman} |
| 9 |
\usepackage{utopia} |
| 10 |
%\usepackage{times} |
| 11 |
%\usepackage{ncntrsbk} |
| 12 |
%\usepackage{palatino} |
| 13 |
|
| 14 |
\setlength{\textwidth}{6.5in} |
| 15 |
\setlength{\evensidemargin}{0in} |
| 16 |
\setlength{\oddsidemargin}{0in} |
| 17 |
\setlength{\textheight}{8in} |
| 18 |
\setlength{\topmargin}{-0.5in} |
| 19 |
|
| 20 |
\pagestyle{fancyplain} |
| 21 |
%\addtolength{\headwidth}{\marginparsep} |
| 22 |
%\addtolength{\headwidth}{\marginparwidth} |
| 23 |
|
| 24 |
\newcommand{\edge}[1]{\rightarrow_{#1}} |
| 25 |
\newcommand{\union}{\cup} |
| 26 |
\newcommand{\Union}{\bigcup} |
| 27 |
\newcommand{\overrides}{overrides} |
| 28 |
\newcommand{\defas}{\stackrel{\rm as}{=}} |
| 29 |
|
| 30 |
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} |
| 31 |
\renewcommand{\subsectionmark}[1]{\markright{\thesubsection\ #1}} |
| 32 |
\newcommand{\Term}[1]{\mbox{\it #1}} |
| 33 |
\lhead[\fancyplain{}{\bfseries\thepage}]% |
| 34 |
{\fancyplain{}{\bfseries\rightmark}} |
| 35 |
\rhead[\fancyplain{}{\bfseries\leftmark}]% |
| 36 |
{\fancyplain{}{\bfseries\thepage}} |
| 37 |
\cfoot{} |
| 38 |
|
| 39 |
\newenvironment{Figure}{\begin{figure}[htbp]}{\end{figure}} |
| 40 |
|
| 41 |
\begin{document} |
| 42 |
\title{\bf \LARGE \MLTeX} |
| 43 |
\author{\begin{tabular}{c} |
| 44 |
Allen Leung \\ \\ |
| 45 |
New York University \\ |
| 46 |
719 Broadway, Rm. 714 \\ |
| 47 |
New York, NY 10003. \\ |
| 48 |
{\tt [email protected]} |
| 49 |
\end{tabular} |
| 50 |
\and |
| 51 |
\begin{tabular}{c} |
| 52 |
Lal George \\ \\ |
| 53 |
Bell Laboratories \\ |
| 54 |
600--700 Mountain Ave. \\ |
| 55 |
Murray Hill, NJ 07974--0636. \\ |
| 56 |
{\tt [email protected]} |
| 57 |
\end{tabular} |
| 58 |
} |
| 59 |
|
| 60 |
\date{\today} |
| 61 |
\bibliographystyle{alpha} |
| 62 |
|
| 63 |
\maketitle |
| 64 |
|
| 65 |
\begin{abstract} |
| 66 |
\newdef{\MLTeX} is a special \newdef{\LaTeX} package for writing |
| 67 |
\MLRISC{} documentation. It is similar to the \newdef{latex2html} |
| 68 |
tool except that \MLTeX{} has special environments for documenting |
| 69 |
Standard ML code. In addition, there is an accompanying tool |
| 70 |
called \newdef{mltex2html} for generating HTML pages. |
| 71 |
\end{abstract} |
| 72 |
|
| 73 |
|
| 74 |
\include{mltex} |
| 75 |
\bibliography{mlrisc} |
| 76 |
\end{document} |