MathGroup Archive 2008

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

Search the Archive

Re: Is Format[ ,TeXForm] broken?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90227] Re: Is Format[ ,TeXForm] broken?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 2 Jul 2008 06:37:36 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <g4fhur$9r9$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

try MakeBoxes[]

Mathematica will transform the boxes to TeX.

Regards
   Jens

Will Robertson wrote:
> Hello,
> 
> I'd like to be able to customise the exporting of my Mathematica
> expressions to LaTeX, but it doesn't seem to work like I expect:
> 
>     Format[AA,TeXForm]="BB";
>     TeXForm[AA]
> 
> Results in "\text{BB}". So far so good. But:
> 
>     TeXForm[AA+x]
> 
> Results in "\text{AA}+x". The explicit TeXForm Format isn't applied to
> built-up expressions.
> 
> I'm using Mathematica 6.0.2. Is this fixed in 6.0.3?
> 
> Now, I can use this to approximate what I want:
> 
>     Format[AA]="BB"
> 
> In this case both TeXForm outputs above show the expected result
> (\text{BB} in both). But I don't really want to do that, because then
> my Mathematica output will get rather messy (I use short names in Mathematica 
> and longer macro names in LaTeX to get consistent formatting).
> 
> Many thanks,
> Will
> 
> 


  • Prev by Date: Re: Problem with parametric minimization
  • Next by Date: RE: Re: Possible Bug in Mathematica 6
  • Previous by thread: Is Format[ ,TeXForm] broken?
  • Next by thread: Re: Is Format[ ,TeXForm] broken?