MathGroup Archive 2004

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

Search the Archive

Re: TeXForm of TeX accents

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49787] Re: TeXForm of TeX accents
  • From: Daniel Herring <dherring at at.uiuc.dot.edu>
  • Date: Sat, 31 Jul 2004 03:14:06 -0400 (EDT)
  • References: <cdt4pq$5ve$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Gianluca Gorni wrote:

> Hello!
> 
> Anyone can fathom why the following different treatment
> of two TeX accents in strings:
> 
>       In:  TeXForm["\'a"]
> 
>       Out:  \'a
> 
> 
>       In:  TeXForm["\`a"]
> 
>       Out:  $\backslash ` $a

My guess:  Mathematica isn't recognizing "\`" as an accent.  Instead, it 
thinks you literally want "\`a" to appear in your document.  Since the 
backslash is the TeX escape character, Mathematica is kind enough to 
protect it for you.

Try using TeXForm["\\`a"] ...

Later,
Daniel


  • Prev by Date: Re: PutAppend Command and Data Output
  • Next by Date: envelope of an oscillatory InterpolatingFunction
  • Previous by thread: TeXForm of TeX accents
  • Next by thread: running a command in the background on unix/linux