Research Computing >> Software >> TEX, LATEX >> Eurosans installation in MiKTEX

EUROSANS PACKAGE IN MIKTEX

Contributed by Robert McDonald,
Professor of Finance

Why Eurosans?

There are now several euro packages available for LaTeX. However, Eurosans has the advantage of looking good and scaling. If you use it in a subscript, for example, it scales appropriately with no fuss on your part. (But see below about usage in math mode.)

Installation v2.2

The following enabled me to install the eurosans package (3.0) under MikTeX 2.1. I failed the first few times (I really don't understand fonts) and succeeded only by trial and error. The readme packaged with eurosans is probably sufficient if you know what you're doing, but it wasn't explicit enough for me. I'm posting here because I thought this might be useful to others. I would appreciate corrections, simplifications, amplifications, and explanations.

  1. Obtain a copy of version 3 of the eurosans package from CTAN (www.ctan.org). The easiest thing to do is go to the Packages tab of the MiKTeX Options program and install from there.

    To install eurosans using the Packages tab in the MiKTeX Options program:

    1. Click on the "Change" button to change the Download site. Choosing to download from an Internet site, select one of the CTAN mirrors, for example, the mirror at ftp://indian.cse.msu.edu. Click on the "Finish" button
    2. To add eurosans, select "eurosans" among the available MiKTeX packages.

    3. Eurosans is listed under "Formats". Click on the plus next to "Formats" to expand the list; then expand the list under "LaTeX", and, finally, expand the list under "Latex Packages". Once you select eurosans, click on the "Apply" button to proceed with the installation.
    4. Click on the OK button to close MiKTeX Options.
  2. Obtain a copy of zpeu.map or zpeu-origname.map from CTAN, by searching for the name of the file. If you use the former, you will have to rename the fonts following the instructions in the readme.eurosans that comes with the eurosans package.
  3. Obtain "eurofont.exe" from www.adobe.com/type/eurofont.html. This gives you "afm" and "pfb" files.
  4. Copy all the eurofont files, including "pfb", to the fonts subdirectory of the local "tex" directory. The paths that seem to work are: copy "afm" and "pfb" files to fonts/type1/adobe/eurofont; copy "tfm" files (available with the miktex distribution under texmf/doc/fontinst/examples/eurofont) to fonts/tfm/adobe/eurofont. Alternative paths may work.
  5. Copy the file "zpeu.map" (from the eurosans package) to texmf/dvips/config
  6. Append the contents of zpeu.map to the file psfonts.map, which is in the dvips/config directory.
  7. Edit the file "config.makepk" to include the following line:

    p +zpeu.map

  8. From the command line, run

    initexmf --mkpsre --search

  9. From the command line, run

    initexmf -u.

You should now be able to \usepackage{eurosans} and then call \euro. There was a previous version of these instructions which was different. It worked for the eurosans package but it broke the prosper package.

Usage Notes

If you will never invoke the euro symbol in math mode, you do not need to worry about the following. If you do, however, you might want to define a new command which will give you a euro which works both in text and math modes. For example, you may define \eurom (for math) as follows:

\newcommand{\eurom}{\ensuremath{\text{\euro}}}

This command requires amsmath (for \text).

Related links

© 2001-2010 Kellogg School of Management, Northwestern University