#14509: Fix LaTeX of free algebras (and repr_lincomb)
----------------------------------+--------------------------
       Reporter:  kcrisman        |         Owner:  was
           Type:  defect          |        Status:  new
       Priority:  minor           |     Milestone:  sage-5.11
      Component:  user interface  |    Resolution:
       Keywords:  latex           |     Merged in:
        Authors:                  |     Reviewers:
Report Upstream:  N/A             |   Work issues:
         Branch:                  |  Dependencies:
       Stopgaps:                  |
----------------------------------+--------------------------

Comment (by ppurka):

 In fact, what will break if we simply add a space after every such comman
 variable name?
 {{{#!diff
 --- a/sage/misc/latex.py
 +++ b/sage/misc/latex.py
 @@ -2503,7 +2503,7 @@
          '\\alpha'
      """
      if a in common_varnames:
 -        return "\\" + a
 +        return "\\" + a + " "
      elif len(a) == 1:
          return a
      elif is_fname is True:
 }}}
 Visually, and in latex, this is probably the simplest fix.

--
Ticket URL: <http://trac.sagemath.org/ticket/14509#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to