Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3261

Automatic Equation Numbering when "save as"Latex

From graser <graser@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Automatic Equation Numbering when "save as"Latex
Date 2011-06-23 11:32 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <itv882$pdr$1@smc.vnet.net> (permalink)

Show all headers | View raw


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 !

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Automatic Equation Numbering  when "save as"Latex graser <graser@gmail.com> - 2011-06-23 11:32 +0000

csiph-web