MathGroup Archive 2002

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

Search the Archive

Re: LaTeX and Mathematica

  • To: mathgroup at
  • Subject: [mg36671] Re: LaTeX and Mathematica
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 18 Sep 2002 02:10:04 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <aluatl$nk3$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


a) you must change the fonts, because the Mathematica
   symbols are designed to fit to Times/Helvetica/Courier
   and not to Computer Modern ! Mixing Computer Modern
   and the Mathematica fonts look not very nice because
   Comuter Modern has smaler strokes. You need atleast
   wrisym.sty, i.e.

   but this will switch the main document font to
   Times and the mono-space font to courier.

   With Mathematica 4.2 you can use Adobe-Garamond
   and Janson as document fonts too, with
   but this are commercial fonts and you have to buy 
   it from Adobe.

b) If you like the narrow monotype fonts
   similar to Computer Modern you can use the
   CMTT fonts, now included in Mathematica 4.2
   Just use the package option

c) I have a TeX frontend that use only the wrisym package
   and a preprocessor. It run fine with the most style files
   But you have to use "TeX notebooks" that are essential
   TeX files with mathinput environments. The TeX frontend
   send the contents of the mathinput environments to
   the kernel and paste the output into the final TeX file.
   It also does some fancy formating with the Mathematica input
   and replace -> with \Rule, :> with \RuleDelayed ..
   You can have the program and the style files if you like.


Kyriakos Chourdakis wrote:
> Dear all,
> I want to include some Mathematica code in some lecture notes I am writing.
> For that purpose, I use the LaTeX style provided with Mathematica. It seems
> to be working fine when I produce a document that is just Mathematica code.
> The problem - as expected - is that when I include the Mathematica code as
> a part of a larger document, there are
> (1) clashes with existing packages
> (2) some LaTeX elements, such as the equations, start to use the
> Mathematica fonts too. My objective would be to typeset a document in
> standard LaTeX, where only the Mathematica code has the Mathematica feeling.
> Does anyone know of any style available that is completely seperated from
> all other LaTeX definitions?
> Best
> Kyriakos
> _____+*"*+____+*"*+___+*"*+__+*"*+_
> Kyriakos Chourdakis
> Lecturer in Financial Economics
> URL:
> tel: (++44) (+20) 7882 5086
> Dept of Economics
> University of London, QM
> London E1 4NS
> U.K.

  • Prev by Date: Thanks to all; here's what looks to be best solution
  • Next by Date: Re: Checking Programming errors; a ?
  • Previous by thread: LaTeX and Mathematica
  • Next by thread: AW: nth roots