On 06/25/2010 01:19:06 PM, S. Robert James wrote:
Hi.  When using Sage notebook in typesetting mode, a leading minus
sign doesn't seem to appear.

sage: expand(h_m)
-m^2/(2*n - 1) + m + m/(2*n - 1)
# This is correct.  Now, let's turn on typesetting:
sage: expand(h_m)
# Doesn't show the leading minus sign.  Here is what the text button
shows:
<html><span class="math">\newcommand{\Bold}[1]{\mathbf{#1}}\frac{m^{2}}
{2 \, n - 1} + m + \frac{m}{2 \, n - 1}</span></html>

I don't know how to read that, but I don't see a leading minus sign
there...

Sage Version 4.4.3, Release Date: 2010-06-04 / sagenb.org
Firefox 3.6 / Windows 7 Pro

Here's another example:

sage: version()
'Sage Version 4.4.3, Release Date: 2010-06-04'
sage: n=var('n')
sage: f = -n/(n-1) + 1
sage: f
-n/(n - 1) + 1
sage: latex(f)
\frac{n}{n - 1} + 1

-Mike

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to