Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2452
| From | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: TeXForm: slight change in behaviour from version 7 to version 8 |
| Date | 2011-05-18 11:17 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ir09re$22n$1@smc.vnet.net> (permalink) |
I don't remember how things worked in version 7 but to me it makes sense that TeXForm["..."] should return \text{...}.
TeXForm["\[Alpha]"] returns
\alpha
b/c as a math character, it only exists in math mode. On the other hand,
TeXForm["if \[Alpha] > 1"]
returns
\text{if $\alpha $ $>$ 1}
as I would expect. TeXForm is not perfect and some manual clean up is usually necessary. In the last expression, aI would write the final result as
\text{if $\alpha > 1$}
tm
PS. There are some extra " and \ in your original post that I don't see in my output. I suspect they are artifacts caused during posting.
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Re: TeXForm: slight change in behaviour from version 7 to version 8 Themis Matsoukas <tmatsoukas@me.com> - 2011-05-18 11:17 +0000 Re: TeXForm: slight change in behaviour from version 7 to version 8 "p.ramsden" <p.ramsden@imperial.ac.uk> - 2011-05-19 11:44 +0000
csiph-web