#19657: latex names
---------------------------------+-------------------------
Reporter: fwclarke | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.10
Component: number fields | Resolution:
Keywords: latex_name | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+-------------------------
Changes (by fwclarke):
* keywords: => latex_name
* type: PLEASE CHANGE => defect
* component: PLEASE CHANGE => number fields
Old description:
New description:
As pointed out in http://ask.sagemath.org/question/31223, there are
various problems with defining latex_name for the generators of number
fields. For example
{{{
sage: K.<a> = NumberField(x^3 - 5, latex_name='alpha')
sage: latex(a), K.latex_variable_name()
(alpha, 'alpha')
sage: y = polygen(K, 'y')
sage: L.<b> = K.extension(y^3 + a - 1, latex_name='beta')
sage: latex(b), L.latex_variable_name()
(b, 'beta')
sage: M.<c> = NumberField(y^3 + a - 1, latex_name='gamma')
sage: latex(c), M.latex_variable_name()
(c, 'c')
}}}
Also
{{{
sage: E.<rho> = NumberField(x^3 - 5)
sage: latex(rho), E.latex_variable_name()
(\rho, '\\rho')
sage: F.<rho> = NumberField(x^3 - 5, latex_name='rho')
sage: latex(rho), F.latex_variable_name()
(rho, 'rho')
sage: G.<rho> = NumberField(x^3 - 5, latex_name='sigma')
sage: latex(rho), G.latex_variable_name()
(sigma, 'sigma')
}}}
All these inconsistencies need ironing out.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19657#comment:1>
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.