Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mathematica vs Latex

60 views
Skip to first unread message

John

unread,
Oct 10, 2008, 4:35:51 AM10/10/08
to
Mathematica 6, WindowsXP

The binomial, probability distribution function is printed in the
evaluation of the following notebook:

NotebookPut[
Notebook[{Cell["October 7, 2008", "Text", TextAlignment -> 1,
FontSize -> 24, Bold,
CellMargins -> {{Inherited, Inherited}, {50, Inherited}}],
Cell["Probability Of Acceptance", "Section", "Text",
CellFrame -> False,
CellMargins -> {{Inherited, Inherited}, {4, 3}}],
Cell["Use the formula,", "Text", TextJustification -> 1,
Hyphenation -> True, FontSize -> 16, Bold, CellFrame -> False,
CellMargins -> {{Inherited, Inherited}, {10, Inherited}}],
Cell[BoxData[
RowBox[{ RowBox[{"(", GridBox[{{"c"}, {"i"}}], ")"}],
SuperscriptBox["p", "i"],
SuperscriptBox["(1-p)", "c-i"]}] ] , "Text", FontSize -> 16,
Bold, TextJustification -> 1, Hyphenation -> True,
CellMargins -> {{Inherited + 35, Inherited}, {10, Inherited}}],
Cell["to compute the probability that acceptance sampling deems a \
lot to be acceptable. Values of n, c amd p are specified by the \
user.", "Text", FontSize -> 16, Bold, TextJustification -> 1,
Hyphenation -> True, CellFrame -> False,
CellMargins -> {{Inherited, Inherited}, {10, Inherited}}]}]]

The Mathematica printed formula is mathematically correct, but a
publisher would not accept it.
Publishers want formulas produced by Latex, and anyone who looks at
the formulas, side by side, will see why.

I have been told that Mathematica can import a Latex file, which
prints a formula, and then duplicate the Latex formula. If true this
would solve many of my problems because creating and printing elegant,
math formulas in Latex is easy.

John

sjoerd.c...@gmail.com

unread,
Oct 11, 2008, 6:45:59 AM10/11/08
to
Try to set your formula in Traditional Form (shift+ctrl+T or Cell/
ConvertTo/TraditionalForm). That will look much better.

Cheers -- Sjoerd

Nasser Abbasi

unread,
Oct 11, 2008, 6:47:35 AM10/11/08
to

"John" <jw...@lehigh.edu> wrote in message news:gcn457$6vt$1...@smc.vnet.net...
> Mathematica 6, WindowsXP

> The Mathematica printed formula is mathematically correct, but a
> publisher would not accept it.
> Publishers want formulas produced by Latex, and anyone who looks at
> the formulas, side by side, will see why.
>

side by side? Where is the Latex version to compare? I only see one formula.

> I have been told that Mathematica can import a Latex file, which
> prints a formula, and then duplicate the Latex formula. If true this
> would solve many of my problems because creating and printing elegant,
> math formulas in Latex is easy.
>
> John
>

humm.. Why not just do save as Latex from Mathematica?

Nasser


Jean-Marc Gulliet

unread,
Oct 11, 2008, 6:48:39 AM10/11/08
to
John wrote:

*snip*

> I have been told that Mathematica can import a Latex file, which
> prints a formula, and then duplicate the Latex formula. If true this
> would solve many of my problems because creating and printing elegant,
> math formulas in Latex is easy.

I am not sure to have understood what you try to achieve; however, the
following documents should help you started with the import/export
features. (Note that these documents can be access via the Web and the
online help -- documentation center.)

"Importing and Exporting Data"
http://reference.wolfram.com/mathematica/tutorial/ImportingAndExportingData.html

"Generating and Importing TeX"
http://reference.wolfram.com/mathematica/tutorial/GeneratingAndImportingTeX.html

"TeX (.tex)"
http://reference.wolfram.com/mathematica/ref/format/TeX.html

"LaTeX (.tex)"
http://reference.wolfram.com/mathematica/ref/format/LaTeX.html

HTH,
-- Jean-Marc

0 new messages