Printing and Viewing Maple LaTeX Documents
===========================================

To format and print documents "exported" to LaTex by Maple you will
need access to a standard version of LaTeX and the two LaTeX style
files "maplems.sty" and "mapleenv.sty" that are provided with this
document.

Place copies of these style files in the same directory (or folder) as
the file to be processed, and process the file with "latex" to create a
.dvi file.

The style file "maplems.sty" provides a complete document style based
on the LaTeX "article" style and which is suitable for presenting
typical worksheet length documents and examples.  The document style
line used in the exported worksheet is:

	\documentstyle[maplems]{article}

The style file "mapleenv.sty" is read by the style file "maplems.sty"
and is used to define the various environments used in the LaTeX
document produced by Maple.  This includes definitions for the
environments

	\begin{mapleinput}  ... \end{mapleinput}

	\begin{maplettyout} ... \end{maplettyout}

	\begin{maplelatex}  ... \end{maplelatex}

a macro used to display the separator line found between Maple regions

	\maplesepline

and the macro

	\mapleplot{}

facilitating the inclusion of plots (see below).

If you wish to print the Maple worksheet using a different page layout
or style, be sure to modify the chosen style to make use of
"mapleenv.sty" as in (for example)

	\documentstyle[mapleenv]{book}

Changing Layout Parameters 
==========================

The spacing between regions and the actual layout of the page can be
changed by modifying some of the parameters shown at the top of the
file  "maplems.sty".  To do this,

1.  Copy a version of this file to the same directory as your LaTeX
document using a different style name ( e.g., "mymaplems.sty" ) and
edit the parameters found in the file to values of your choice.

2.  Modify the document style line in your exported worksheet
appropriately.

Permission is granted to use these Maple styles without charge. It may
also be redistributed providing that they are distributed as is and
without charge.  You may modify these macros for your own use, and
redistributed subject to the following condition:

1. The style name used for any modified version of this file is
   different from mapleenv.sty.

2. You acknowledge this file as the source.

3. It is redistributed under the same terms and conditions
   as indicated here.


Including Plots 
===============

The documents exported from Maple can be modified by hand to include
PostScript plots.  The macro "\mapleplot" can be inserted directly into
the latex source file.  It uses one argument: the name of the file
containing a  PostScript version of the plot.

	\mapleplot{postscript.out}

Such plots are easily generated and saved to files by using Maple V.

This macro definition makes use of the style file "psfig.sty".  The
"psfig" macros are not commercially distributed, but can already be
found at many ftp sites.  It can be easily modified to rely on your
favourite macro package.

# $Id: latex.txt,v 1.2 1994/03/07 16:07:51 jsdevitt Exp $
# $Revision: 1.2 $
