Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Automatic Equation Numbering when "save as"Latex

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119807] Automatic Equation Numbering when "save as"Latex
  • From: graser <graser at gmail.com>
  • Date: Thu, 23 Jun 2011 07:25:43 -0400 (EDT)

Hi

I am writing a paper with Mathematica 7. I am using predefined style
sheet " preprint". As I used "EquationNumbered" style in the
document,all equations are well numbered in Mathematica but when I
save this document as Latex, all equation numberings are gone. They
are not numbered equation anymore.

How to keep those equation numbering even in Latex?

I found some cell expression option

***
ExportString[
 Cell[BoxData[
   RowBox[{SubscriptBox["\[Integral]", "\[ScriptCapitalG]"],
     RowBox[{"d", " ", "\[Mu]", RowBox[{"(", "g", ")"}],
       SuperscriptBox["D", "j"], RowBox[{"(", "g", ")"}]}]}]],
  "EquationNumbered"]

 , "TeX",
 "ConversionRules" -> {"EquationNumbered" -> {"\\begin{equation}\n",
     Convert`TeX`BoxesToTeX[#] &, "\n\\end{equation}"}} ]
******

But I don't know how I can apply this thing into style sheet.

Thanks !



  • Prev by Date: Re: Assigning part of indexed object
  • Next by Date: Re: Assigning part of indexed object
  • Previous by thread: Aw: Re: Is a conditional evaluation of sections of a notebook possible?
  • Next by thread: parsing a strig