[sage-devel] I would like latex(str) to be identity, do you?

2009-12-11 Thread slabbe
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 o

Re: [sage-devel] I would like latex(str) to be identity, do you?

2009-12-11 Thread William Stein
On Fri, Dec 11, 2009 at 6:57 AM, slabbe wrote: > 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'