Home > fonts > How use Mathematica fonts with LaTeX - which method?

How use Mathematica fonts with LaTeX - which method?

April 11Hits:1
Advertisement

I want to be able to use Mathematica fonts with LaTeX. I find two sets of instructions for this:

  1. Robert's post there
  2. Kuska's instructions in mysymdoc.pdf, a file in the Mathematica 8 folder SystemFiles/IncludeFiles/TeX/texmf/doc.

Method (1) explicitly assumes one is using linux, although robert indicates the method should work for OS X.

Method (2) uses files that are distributed with Mathematica for OS X, but Kuska refers only to MikTeX on Windows and teTeX on Unix.

Which works with TeXLive 2011 under OS X?

Also, method (1) says to edit the two .mapfiles so as to change .pfb to .pfa (presumably because the Wolfram-supplied Type 1 font files have extension .pfa.

Why edit the .map files like that instead of changing the extensions of the font files themselves to .pfb?

Answers

The instructions you mention are rather outdated.

  1. Modify wolfram.map to have .pfa instead of .pfb (to reflect the format of the font files) and remove all from Janson Text onwards, as those fonts are not provided.
  2. Copy wolfram.map to
    /usr/local/texlive/texmf-local/fonts/map/dvips/wolfram/wolfram.map
    
    
  3. Copy all subfolders from texmf/fonts (afm/wolfram …) to the corresponding folders in /usr/local/texlive/texmf-local/fonts.
  4. Copy the directory texmf/tex/latex/wolfram to /usr/local/texlive/texmf-local/tex/latex/wolfram
  5. Copy texmf/doc/wolfram to /usr/local/texlive/texmf-local/doc/latex/wolfram
  6. Run mktexlsr so that TeX Live will know about these files
  7. Run updmap-sys --enable Map=wolfram.map
  8. Enjoy

All steps from 2 to 7 should be done as Administrator (prefix the commands with sudo, typing the Administrator's password when requested)

Note that the 7z archive linked to in the blog article seems to be corrupt, while the .zip file is good.


Update

From TeX Live 2013 onwards, it's better to add the line

Map wolfram.map

to the file

/usr/local/texlive/texmf-local/web2c/updmap.cfg

(also requires Administrator privileges) and subsequently run

updmap-sys

without options. This replaces step 7 above.

Related Articles

  • How use Mathematica fonts with LaTeX - which method?April 11

    I want to be able to use Mathematica fonts with LaTeX. I find two sets of instructions for this: Robert's post there Kuska's instructions in mysymdoc.pdf, a file in the Mathematica 8 folder SystemFiles/IncludeFiles/TeX/texmf/doc. Method (1) explicitl

  • Installing Mathematica Fonts in MikTeXJanuary 14

    I would like to use Mathematica fonts with pdfLaTex in Miktex, but I'm having trouble installing them. I have only found guides as to how to install them in TexLive and I don't know how to alter the procedure to fit my case. I found the latest fonts

  • Problem with installing Wolfram Mathematica fonts in TeX LiveFebruary 27

    I've been trying to install the Wolfram Mathematica fonts in my installation of TeX Live 2011, running under OS X Lion. I used a mangled version of these instructions. I placed the files in /usr/local/texlive/2011basic/texmf-local/, and didn't muck a

  • Hand written fonts in LaTeX/XeTeX/LuaTeX

    Hand written fonts in LaTeX/XeTeX/LuaTeXMarch 14

    Recently my struggle to find out some handwritten fonts for some document led me to this question. What are the various packages that give nice looking handwritten and / or calligraphic fonts? I know that the experts here will come out with all possi

  • Use fonts in LaTeX from directory C:/Windows/Fonts March 30

    I'd like to use Palatino font in LaTeX, but there are no cyrillic symbols in the mathpazo package. But I can easily type cyrillic symbols with Palatino font in MS Word. So, is there any method for using Windows system fonts in LaTeX? UPD I tried XeLa

  • Whose responsibility is it to load fonts in LaTeX (or XeLaTeX)? (and how do I know which ones, if mine?)

    Whose responsibility is it to load fonts in LaTeX (or XeLaTeX)? (and how do I know which ones, if mine?)September 18

    I ran into a headache-inducing problem with LaTeX (actually I used XeLaTeX to compile, but I think this issue is independent) recently due to unwittingly attempting to modify the dimensions of a math font before it was loaded. What should be my expec

  • What is the default font in latex beamer?November 13

    What is the default font in LaTeX beamer. I want to use it in an ooffice master layout. --------------Solutions------------- Just compile a minimal document to PDF and check the fonts in the document properties in your PDF viewer. \documentclass{beam

  • using hobby MF font with LaTeX, adding accented characters

    using hobby MF font with LaTeX, adding accented charactersNovember 12

    I created a hobby font with metafont. I would like to include some accents in the font, but I am not sure what is the standard way for accomplishing that (gogle was not very helpful), so that the font works with LaTeX (pdflatex, if needs be). How can

  • Help Installing a Font for Latex on Mac (map file, directory structure, font naming)August 14

    I'm sure this sort of thing has been asked again and again, but I cannot find a guide or post anywhere that has been able to get me what need. All the online help seems to be aimed at a higher level than I can cope with (no big surprise). So any help

  • How do I use freeserif font in latex August 17

    Possible Duplicate: Install OpenType fonts in Texlive I am looking to create some documents in LibreOffice and LaTeX. To maintain consistency I want to use the same font FreeSerif in both set of documents. Is there a way to use FreeSerif fonts in LaT

  • Mathematica vs. $\LaTeX$? Replacement for Legacy "Authoring Tools" package?

    Mathematica vs. $\LaTeX$? Replacement for Legacy "Authoring Tools" package?August 25

    I'd rather write in Mathematica than in $\LaTeX$, but it's not really practical, especially for big works (> 100 pages) without good tooling. I'm just starting to look into what's available for big works, but I haven't found any guidelines later than

  • \setbeamerfont for customizing content font in LaTeX beamer November 23

    I have a problem in which I am not sure how to modify the content (normal text) of beamer font. I only know how to modify the frametitle In which \setbeamerfont{structure}{family=\fontUbuntu} \setbeamerfont{frametitle}{family=\fontUbuntuLight} done f

  • Fanciest way to include Mathematica code in LaTeX

    Fanciest way to include Mathematica code in LaTeXNovember 29

    I am trying to include a Mathematica code in LaTeX. To obtain the Mathematica code I just exported notebook as PDF. I didn't like the way it was included in my TEX code so I just thought of adding a box around picture so as to make it a bit more fanc

  • How to avoid font substitution with Mathematica fonts?February 3

    When I export a Plot to PDF, a journal publisher complains that they do not have the Mathematica fonts. I believe there is a way to inhibit Mathematica from substituting its fonts (e.g., for "(") but I cannot figure it out. I tried this but it d

  • TimesNewRoman font in Latex March 7

    This question already has an answer here: How do I make my document use the Times font, both for the text and the math? 6 answers I'm trying to use Times New Roman Font in Latex - MiKTeX 2.9 with command \usepackage{times} but it said pdfTex error (p

  • Mathtype Euclid Font in Latex

    Mathtype Euclid Font in LatexJune 9

    Is there anyway that I can use Mathtype's Euclid font in typing texts in LaTeX? Just for the text, not the math mode. Some used to suggest that it's the same as the default Computer Modern font in LaTeX, but I strongly disagree with that, and I'm sti

  • Windows 8 style font in LaTeX

    Windows 8 style font in LaTeXDecember 23

    How do I get the Windows 8 font styling in LaTeX(the package)? A sample font is: --------------Solutions------------- This font is called Segoe UI. Various weights are used at different sizes; see the Microsoft page I linked to for details. To use th

  • Highlighting Mathematica code in $\LaTeX$ documentFebruary 23

    I was thinking about the best way to include Mathematica code in a $\LaTeX$ document with a nice syntax highlighting. I have tried the packages listings and minted (with pygments), which both claim to include Mathematica syntax highlighting. There is

  • Mathematica notebook into latex document

    Mathematica notebook into latex documentApril 25

    Whereas Mathematica allows us to dump an entire notebook into a readable LaTeX file. However, the formatting of that file is not optimal. There are many posts on how to "beautify" a single Mathematica equation into LaTeX. But, this procedure can

  • Garamond font with LaTeX

    Garamond font with LaTeXMay 20

    Is there any package that allows to use Garamond font with LaTeX documents that are generated with pdflatex? If so: Does this package allow to use font for commercial purposes for free? If not, is there any other way to use that font for commercial p

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.562 s.