Windows Fonts for Latex/MikTex

To be able to use windows fonts like Verdana, Tahoma and so forth in Latex documents on an Linux Ubuntu 10.10 (and older version such as Jaunty Jackelope) you need to install the winfonts package from CTAN. The following steps explains what I undertook to use these fonts:

1. First download the winfonts package from CTAN
2. Find your Tahoma and/or Verdana fonts on the web or your Windows computer (folder /Windows/fonts/)
3. Extract the files to temporary directory and copy the contents of the winfonts directories doc, fonts, tex, ttf2tfm to /usr/share/texmf-texlive/ respectively
4. Copy the fonts to /usr/share/texmf-texlive/fonts/truetype/public/msttcorefonts. Perhaps you should convert all filenames (and extensions) to lowercase.
5. Run the following commands

sudo update-texmf
sudo update-fmtutil
sudo update-updmap
sudo texhash
sudo updmap-sys --enable MixedMap winfonts.map

7. In Tex file

begin{document}
fontfamily{tahoma}
fontsize{12}{15}
selectfont
renewcommand{rmdefault}{tahoma}
renewcommand{ttdefault}{tahoma}
renewcommand{sfdefault}{tahoma}
renewcommand{familydefault}{sfdefault}

Advertisements
Posted in Linux, Windows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: