Fonts & Character SetsFont Compatability Issue

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Linguist
Posts: 43
Joined: Mon Nov 07, 2011 12:07 pm

Font Compatability Issue

Post by Linguist »

Hello,

There's a few things going on here so I'll break it down.

I'm trying to do three things:
  1. use a Times font.
  2. typeset phonetic characters using the tipa package (with Times).
  3. typeset Greek (ideally using polutonikogreek with babel).

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[polutonikogreek,english]{babel}
\usepackage{txfonts}
\usepackage{mathptmx}
\usepackage{tipa}

\begin{document}
The quick brown fox jumps over the lazy dog.

\textgreek{The quick brown fox jumps over the lazy dog.}

\textipa{\*The quick brown fox jumps over the lazy dog.}
\end{document}

%when \usepackage{txfonts} not present:
%(1) \textgreek{...} fails to display (! Font LGR/ptm/m/n/10=grtm10 at 10.opt not loadable: Metric (TFM) file not found.)
%(2) \textipa{...} displays as `times' (good).
%when \usepackage{mathptmx} not present:
%(1) \textgreek{...} displays correctly.
%(2) \textipa displays as `computer modern': (LaTeX Warning: Font shape `T3/txr/m/n' undefined)
%when both \usepackage{txfonts} and \usepackage{mathptmx} are present:
%(1) \textgreek{...} fails to display (! Font LGR/ptm/m/n/10=grtm10 at 10.opt not loadable: Metric (TFM) file not found.)
%(2) \textipa{...} displays as `times' (good).
%when neither \usepackage{txfonts} nor \usepackage{mathptmx} are present: document stalls while compiling.
When I use the txfonts package and tipa package, my phonetic characters display as computer modern.

Code: Select all

LaTeX Warning: Font shape `T3/txr/m/n' undefined
When I use mathptmx and polutonikogreek, Greek text fails to display.

Code: Select all

! Font LGR/ptm/m/n/10=grtm10 at 10.opt not loadable: Metric (TFM) file not found.
When I use neither mathptmx, nor txfonts my document stalls while compiling.

Any suggestions on how I can solve any of these issues would be welcome. The used distribution is MiKTeX.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply