1 | initial version |

The problem is caused in the first place by a mistake in `NumberFieldFactory`

. In line 610 of `sage/rings/number_field/number_field.py`

(Sage 6.9), the `latex_name`

doesn't get passed on to the `extension`

method of the base field.

Unfortunately, you cannot get round this by using `extension`

directly; in this case:

```
sage: G.<alpha> = NumberField(x^2 - 2, latex_name='alpharedefined')
sage: print latex(alpha), G.latex_variable_name()
alpharedefined alpharedefined
sage: P.<t> = G[]
sage: H.<beta> = G.extension(t^4 - alpha, latex_name='betaredefined')
sage: print latex(beta), print H1.latex_variable_name()
\beta betaredefined
```

The inconsistencies here indicate that there are other things that need correcting in this part of the code.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.