Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

TeXForm

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132006] TeXForm
  • From: Themis Matsoukas <tmatsoukas at me.com>
  • Date: Fri, 15 Nov 2013 06:40:57 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

TeXForm seems to apply additional transformations to expressions before exporting into latex. Here is an example:

((-1 + n + \[Phi] - n \[Phi]) a + (1 + (-1 + n) \[Phi]) b)/((-1 + 
     n + \[Phi]) a + b - \[Phi] b) // TeXForm

\frac{a (n (-\phi )+n+\phi -1)+b ((n-1) \phi +1)}{a
   (n+\phi -1)+b (-\phi )+b}

The exported expression has been manipulated by some unknown rules. The  (-\phi) in particular is especially annoying. Is there a way to export the expression in the form that pretty much matches the original expression?

Thanks.



  • Follow-Ups:
  • Prev by Date: Re: Help with Manipulate
  • Next by Date: Re: Help with Manipulate
  • Previous by thread: Re: Help with Manipulate
  • Next by thread: Re: TeXForm