> I strongly disagree. For any object foo in Sage, latex(foo) is
> supposed to produce a version of foo that is suitable for typesetting
> within a mathematics environment. For a string, the right thing to
> do is use texttt.
Ok, I understand. So maybe you have a different and better solution
for what I need:
1- A function that returns an str : a table like in example.pdf (cited
above) where the title of one column is using indices (e.g. t_i).
2- A function that returns an str : a line of a tikz picture.
I just realised that the following object could do the job :
sage: from sage.misc.latex import LatexExpr
sage: a = LatexExpr('t_i')
sage: latex(a)
t_i
Sébastien
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org