MathGroup Archive 2007

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

Search the Archive

Re: TeXForm and custom LaTeX macros

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76406] Re: TeXForm and custom LaTeX macros
  • From: Will Robertson <wspr81 at gmail.com>
  • Date: Mon, 21 May 2007 06:08:05 -0400 (EDT)
  • References: <f2emkm$2vn$1@smc.vnet.net><f2hci3$2e5$1@smc.vnet.net>

Hi Jens-Peer,

Sorry for my delay in replying.

On May 17, 7:59 pm, Jens-Peer Kuska <k... at informatik.uni-leipzig.de>
wrote:
>
> MakeBoxes[dddot[y_], fmt_: StandardForm] :=
>   OverscriptBox[MakeBoxes[y, fmt], "\[TripleDot]"]

Thanks for this!
I'm a bit confused regarding the TeXForm of this. How does this code
tell Mathematica to output "\dddot{y}" instead of "\text{dddot}(y)",
as it usually would?

Also (if I may ask), do you know if it's possible to adjust the way
that parentheses are output in TeXForm? For example, if I would like
"(a + b) c // TeXForm" to result in "[a+b]c" or, *even better*,
"\group{a+b}c" ?

Many thanks,
Will



  • Prev by Date: Re: Pisot Numbers
  • Next by Date: Re: Help in changing the vertical axis tick label format
  • Previous by thread: Re: TeXForm and custom LaTeX macros
  • Next by thread: New 3D graphics primitives in Mathematica 5.2