2.3.1 misc.latex - Latex printing support

In order to support latex formating, an object should define a special method _latex_(self) that returns a string.

The module misc.latex defines the following methods:

latex( x)

Output x formated for inclusion in a LaTeX document.

The output should compile correctly if inserted into any latex document in math mode, assuming the amsmath package is included. No special macros should be required.

view( objects, [title=False], [zoom=False], [expert=displaymath ], [debug=False], [sep=True], [tiny=4], [center=])

Compute a latex representation of each object in objects, compile, and display using xdvi. (Requires latex and xdvi be installed.)

INPUT:
    objects -- list (or object)
    size -- latex size of document ('small', 'tiny')
OUTPUT:
    Pops up xdvi with the objects displayed.

See About this document... for information on suggesting changes.