Ticket #6591: trac_6591-doc2.patch

File trac_6591-doc2.patch, 1.7 KB (added by John Palmieri, 13 years ago)

apply on top of the other patch

  • sage/misc/latex.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1248392916 25200
    # Node ID 5993e35c24bf9d24df53d1f037fef4f8062a2dfd
    # Parent  0dfe6ae7b8ed873b2954addd4f92bbccf3ebd6af
    minor doc fixes
    
    diff -r 0dfe6ae7b8ed -r 5993e35c24bf sage/misc/latex.py
    a b  
    14431443    This function behaves differently depending on whether in notebook
    14441444    mode or not.
    14451445
    1446     If note in notebook mode, the output is displayed in a separate
     1446    If not in notebook mode, the output is displayed in a separate
    14471447    viewer displaying a dvi (or pdf) file, with the following: the
    14481448    title string is printed, centered, at the top. Beneath that, each
    14491449    object in ``objects`` is typeset on its own line, with the string
     
    14741474    large pictures (like graphs) generated with tikz. This only works
    14751475    when using a separate viewer. Note that the object are currently
    14761476    typeset in plain math mode rather than displaymath, because the
    1477     later imposes a limit on the width of the picture. Technically,
    1478     ``tightpage`` adds
     1477    latter imposes a limit on the width of the picture. Technically,
     1478    ``tightpage`` adds ::
    14791479
    14801480      \\usepackage[tightpage,active]{preview}
    14811481      \\PreviewEnvironment{page}
    14821482
    1483     to the `\LaTeX` preamble, and replaces the ``\\[`` and ``\\]`` around
     1483    to the LaTeX preamble, and replaces the ``\\[`` and ``\\]`` around
    14841484    each object by ``\\begin{page}$`` and ``$\\end{page}``.
    14851485
    1486 
    14871486    If in notebook mode with ``viewer`` equal to ``None``, this
    14881487    usually uses jsMath -- see the next paragraph for the exception --
    14891488    to display the output in the notebook. Only the first argument,