MathGroup Archive 2013

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg132006] TeXForm
  • From: Themis Matsoukas <tmatsoukas at>
  • Date: Fri, 15 Nov 2013 06:40:57 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

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?


  • 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