MathGroup Archive 2005

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

Search the Archive

Re: Mathematica code & Latex

Daniel Arnold <flashlight at> wrote:

> Hi all
> In order to include some Mathematica code into a latex document I've 
> tried the package notebook2e. But as soon as I use this package all the
> fonts in my latex document are changed. I am not able to include some
> code without changing the whole document. Do you know how to fix that or
> do you know other possibilities to get Mathematica code into a latex 
> document (others than making screenshots)?
> Greets, Daniel
It seems that Mathematica 5.2 does not need notebook2e. If I save my
notebook with Save as special -> TeX, I get :
%% AMS-LaTeX Created by Wolfram Mathematica 5.2

\usepackage{amsmath, amssymb, graphics}





Then I can merge the resulting code in my existing foo.tex

The result is ugly because Mathematica uses the amsmath "poor math
bold". But the procedure is very easy.

With Mathematica < 5.2 ...... Snip:-(


  • Prev by Date: Re: Mathematica code & Latex
  • Next by Date: Re: Re: Re: Questions regarding MatrixExp, and its usage
  • Previous by thread: Re: Mathematica code & Latex
  • Next by thread: Function creation slows code >10X