views:

686

answers:

3

I need to use a font family in my LaTeX documents, that is available as 18 .TTF (TrueTypeFont) files.

Where do I have to copy the files in my MiKTeX 2.8 installation? How Do I make the fonts to available for LaTeX?

I usually use pdfLaTeX. I read in Truetype-Fonts in LaTeX that TTF fonts are available without creating all the .TFM files. What is necessary for this case?

Can I install the fonts in the local-texfm directory? I would like to isolate the system installation and my manually added stuff. Probably it would be easier to copy this font family on another installation.

+7  A: 

The easiest way would be to use XeLaTeX, for which you would just install the fonts to your system. A basic template would look like this (from http://theotex.blogspot.com/2008/04/what-is-xetex-basic-template_15.html) :

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[10pt]{memoir}
\usepackage{xltxtra,fontspec,xunicode}
\defaultfontfeatures{Scale=MatchLowercase}
\setromanfont[Numbers=Uppercase]{Hoefler Text}
\setmonofont[Scale=0.90,Ligatures=NoCommon]{Courier}

\title{Your Title}
\author{Your Name}
\date{}

\begin{document}

\maketitle
\chapter{Title}

\section{Section Title}
Your text

\subsection{Subsection Title}
Your Text
\end{document}
Mica
Using XeLaTeX sounds like a solution. I dont have "Hoefler Text" installed, so I replaced it with Verdana, what I see in the Fonts directory. I always get the message:! LaTeX Error: File `metalogo.sty' not found.The "Extended TeX logo macros" package 2009-09-11 is installed.
harper
what tex distribution are you using? have you tried including the file in your preamble?
Mica
Try this http://www.opensource-archive.org/showthread.php?p=198133
anno
If you're using miktex and texniccenter, there is a known bug between the two where miktex can't prompt you to install new packaged. I have miktex set to auto-install packages without prompting me, and sometimes that fails too. when it does fail, i usually just make a pass of pdflatex from the command line. this ususallyl resolves the problems.
Mica
A: 

Use ttf2tfm and ttf2pk programs

Alexey Malistov
A: 

try the following: http://www.radamir.com/tex/ttf-tex.htm. I tried it several YEARS ago; i found some bugs but I can't remember them anymore. I think it had something to do with wrong files being used with another program. The author had SWITCHED file extensions due to confusion because of the number of files being generated. I notified the author about it but I don't know if he had corrected it.

dave cotton