Re: not simplify inside TexForm , TraditionalForm
- To: mathgroup at smc.vnet.net
- Subject: [mg44851] Re: not simplify inside TexForm , TraditionalForm
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 4 Dec 2003 03:04:09 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <bqkbdi$hmf$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
TeXForm[HoldForm[4/2]]
??
Regards
Jens
feleki wrote:
>
> Dear Friends!
>
> I encountered the following problem with Mathematica:
>
> I want to obtain the Tex-version of my expressions, for that I use
>
> TexForm[expression]
>
> or sometimes I also use to in another context:
>
> TraditionalForm[expression]
>
> Mathematica also tries to simplify these expressions,
> so the obtained result is not the same as the expression,
> but corresponds to the simplified expression:
>
> Ex: TexForm[4/2] returns 2 instead of \frac{4}{2}.
>
> Sometimes this simplification is not wanted.
> Is there some way to tell Mathematica not to simplify
> the expression and convert the expression in the original form?
>
> Zsolt Feleki