#16495: Latex formatting of rational algebraic numbers
-----------------------------+----------------------------
Reporter: gagern | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.3
Component: number fields | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
I'm a bit surprised by the way algebraic numbers which are indeed rational
get represented in LaTeX code. Consider the following case:
{{{
sage: latex(29/10)
\frac{29}{10}
sage: latex(AA(29/10))
\text{\texttt{29/10}}
}}}
Is it intentional that these two look different? If so, I guess this might
be to make the representation of algebraic numbers consistently single-
line, but even then, the `\text` and `\texttt` formatting seem wrong to
me.
--
Ticket URL: <http://trac.sagemath.org/ticket/16495>
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/d/optout.