Changes between Initial Version and Version 1 of Ticket #19657


Ignore:
Timestamp:
12/01/15 19:29:58 (6 years ago)
Author:
fwclarke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19657

    • Property Keywords latex_name added
    • Property Type changed from PLEASE CHANGE to defect
    • Property Component changed from PLEASE CHANGE to number fields
  • Ticket #19657 – Description

    initial v1  
     1As 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
     2{{{
     3sage: K.<a> = NumberField(x^3 - 5, latex_name='alpha')
     4sage: latex(a), K.latex_variable_name()
     5(alpha, 'alpha')
     6sage: y = polygen(K, 'y')
     7sage: L.<b> = K.extension(y^3 + a - 1, latex_name='beta')
     8sage: latex(b), L.latex_variable_name()
     9(b, 'beta')
     10sage: M.<c> = NumberField(y^3 + a - 1, latex_name='gamma')
     11sage: latex(c), M.latex_variable_name()
     12(c, 'c')
     13}}}
     14
     15Also
     16{{{
     17sage: E.<rho> = NumberField(x^3 - 5)
     18sage: latex(rho), E.latex_variable_name()
     19(\rho, '\\rho')
     20sage: F.<rho> = NumberField(x^3 - 5, latex_name='rho')
     21sage: latex(rho), F.latex_variable_name()
     22(rho, 'rho')
     23sage: G.<rho> = NumberField(x^3 - 5, latex_name='sigma')
     24sage: latex(rho), G.latex_variable_name()
     25(sigma, 'sigma')
     26}}}
     27All these inconsistencies need ironing out.