Services & ResourcesWolfram Forums
 MathGroup Archive
 2005 January February March April May June July August September October November December

Re: Re: Mathematica TeX save in standard LaTeX style

• To: mathgroup at smc.vnet.net
• Subject: [mg57816] Re: [mg57785] Re: [mg57490] Mathematica TeX save in standard LaTeX style
• From: "Dale R. Horton" <daleh at wolfram.com>
• Date: Thu, 9 Jun 2005 05:17:52 -0400 (EDT)
• References: <200505300100.VAA26769@smc.vnet.net> <200506080721.DAA11624@smc.vnet.net> <87acm1kskl.fsf@alhambra.kuesterei.ch>
• Sender: owner-wri-mathgroup at wolfram.com

Frank,

I think you misunderstand my point. I'm not saying put TraditionalForm
in the TeX file. I'm saying use TraditionalForm in the notebook.

Or in other words, put into Mathematica what you want to see in the
final document (ps, pdf, or whatever you're creating from the TeX
file).

So "sin(x)" in a Mathematica notebook translates to "$\sin(x)$" in the
TeX file. This is rendered as "sin(x)" in the final document.

And "Sin[x]" -> "$\text{Sin}[x]$.
And "sin x" -> "$\sin x$".

This is sometimes referred to as WYSIWYG (what you see is what you
get). Though there are many ways in which Mathematica and TeX greatly
differ. So I wouldn't go that far. But the general idea holds. When
deciding what to put in the notebook, don't think about what TeX you
want to produce. Think about the final document you want to produce.

-Dale

On Jun 8, 2005, at 6:15 AM, frank wrote:

> "Dale R. Horton" <daleh at wolfram.com> wrote:
>
>> TeX Export is designed to create a TeX document that looks like your
>> Mathematica notebook (or as close as possible given the many
>> differences between TeX and notebooks).
>>
>> By default, Mathematica uses StandardForm (e.g. Sin[x]). What you want
>> is called TraditionalForm (e.g. sin(x)).
>
> I don't know what Rex wants, but I wouldn't want the Traditional form,
> either.  I'd want $\sin x$ (with the  around the whole math
> expression, or course).  But then how should Mathematica know that I'm
> also happy with $\sin ax$, while I don't want $\sin \phi_0+\omega t$,
> but rather $\sin (\phi_0+\omega t)$?
>
> Regards, Frank
> --
> Frank Küster
> Inst. f. Biochemie der Univ. Zürich
> Debian Developer
>



• Prev by Date: Re: goto and label (cont)
• Next by Date: Re: Output from Export[ ] (suggestion to Wolfram)
• Previous by thread: Re: Re: Mathematica TeX save in standard LaTeX style
• Next by thread: Re: Centering of graphics