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 !
- Follow-Ups:
- parsing a strig
- From: Ted Sariyski <tsariysk@craft-tech.com>
- parsing a strig