Dear sage-devel,

Is there a reason why str are wrapped in \texttt for the latex output?

sage: latex('abcde')
\texttt{abcde}

Moreover, underscores are changed to \_ :

sage: latex('t_i=4^i')
\texttt{t\_i=4^i}

Personally, I don't like it and I wrote a patch that makes latex
behave like identity on str objects. When I "Make Sage write [my]
Latex for [me]" (see section 4 of SAGEHOME/local/share/texmf/tex/
generic/sagetex/example.pdf), I don't want Sage to change what I know
is good for me.

Do you agree to change latex(str) to identity? If you agree, I will
create the ticket and post the patch I use.

Thank you,

Sébastien Labbé

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to