#19657: latex names
-------------------------------------+-------------------------------------
Reporter: fwclarke | Owner:
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-6.10
Component: number fields | Resolution:
Keywords: latex_name | Merged in:
Authors: Francis Clarke | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/fwclarke/latex_names | 794f6bb08b41622767d31c0b05ee7a74d45e1434
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Francis Clarke', 'oldvalue': ''}):
* status: new => needs_review
* priority: major => minor
* author: => Francis Clarke
Old 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.
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')
}}}
These, and some other, inconsistencies need ironing out.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19657#comment:10>
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.