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


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

Automatic Equation Numbering when "save as"Latex

Started bygraser <graser@gmail.com>
First post2011-06-23 11:32 +0000
Last post2011-06-23 11:32 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#3261 — Automatic Equation Numbering when "save as"Latex

Fromgraser <graser@gmail.com>
Date2011-06-23 11:32 +0000
SubjectAutomatic Equation Numbering when "save as"Latex
Message-ID<itv882$pdr$1@smc.vnet.net>
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 !

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web