Fonts & Character SetsMath and phonetic character

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
stefan_fuglsang
Posts: 12
Joined: Mon Oct 04, 2010 9:41 am

Math and phonetic character

Post by stefan_fuglsang »

Hi
I try to use phonetic and math characters in the same document, but only the phonetic characters will show (e.g. $\pm$ does not show). Also certain letter combinations in the normal text disappears (e.g. 'ff' does not show in the word 'affricative').

How can this be solved?


My preamble is
\documentclass[11pt]{article}
\usepackage[english,danish]{babel}
\usepackage{t1enc}
\usepackage[latin1]{inputenc}
\usefont{T1}{ptm}{m}{n}
\usepackage[T1]{tipa}
\usepackage{pxfonts} % Public Times New Roman text & math font

Recommended reading 2024:

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

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

stefan_fuglsang
Posts: 12
Joined: Mon Oct 04, 2010 9:41 am

Re: Math and phonetic character

Post by stefan_fuglsang »

... and here is an example:

\documentclass[11pt]{article}
\usepackage[english,danish]{babel}
\usepackage{t1enc}
\usepackage[latin1]{inputenc}
\usefont{T1}{ptm}{m}{n}
\usepackage[T1]{tipa}
\usepackage{pxfonts}

\begin{document}
$\pm$ \\ % does not show
[\textipa{\|c{\textdyoghlig}}] \\ %is shown
affricative %where is ff ?
\end{document}
stefan_fuglsang
Posts: 12
Joined: Mon Oct 04, 2010 9:41 am

Re: Math and phonetic character

Post by stefan_fuglsang »

I got some help elsewhere.
Apparently the pxfonts package is incompatiple with other font packages?

My new preamble and example is now

\documentclass[a4paper,11pt]{article}
\usepackage[latin1]{inputenc}
\usepackage[english, danish]{babel}
\selectlanguage{danish}
\usepackage{tipa}
\usepackage{tipx}
\usepackage[T1]{fontenc}
\usepackage{mathptmx} % rm & math

\begin{document}

$\pm$ \\ % is shown
\[\textipa{\|c{\textdyoghlig}}\] \\ %is shown
affricative %ff is alright ?

\end{document}
Post Reply