Document Classesbabel and times incompatibility

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
beoram
Posts: 19
Joined: Tue Jul 29, 2008 6:19 pm

babel and times incompatibility

Post by beoram »

Are the packages "babel" and "times" inherently incompatible? I had problems using the "babel" package, but turning off "times" seemed to fix it. But is there any way to use the two package together?

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

babel and times incompatibility

Post by Stefan Kottwitz »

Hi beoram,

the times package is obsolete and is replaced by mathptmx, try this instead.

Stefan
LaTeX.org admin
beoram
Posts: 19
Joined: Tue Jul 29, 2008 6:19 pm

Re: babel and times incompatibility

Post by beoram »

Thanks Stefan, I didn't know the times package was obsolete. But the mathptmx seems to produce the same incompatibility with babel.

E.g.:

\documentclass{article}[12pt]
\usepackage{mathptmx}
\usepackage[polutonikogreek,english]{babel}
\usepackage[or]{teubner}
\begin{document}
This is Greek: \textgreek{\as sk\wci{} \es n \as ige\ia w---ko\ua rh d'' \es peb\ha set'' \as p\ha nhc}
\end{document}

doesn't work.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

babel and times incompatibility

Post by Stefan Kottwitz »

Hi beoram,

it seems there's no greek encoding available with the times font. Try this example, selecting cmr with LGR encoding:

Code: Select all

\documentclass{article}[12pt]
\usepackage{mathptmx}
\usepackage[polutonikogreek,english]{babel}
\usepackage[or]{teubner}
\begin{document}
This is Greek:
\fontencoding{LGR}\fontfamily{cmr}\selectfont
\textgreek{\as sk\wci{} \es n \as ige\ia w---ko\ua rh d'' \es peb\ha set'' \as p\ha nhc}
\normalfont
This was Greek.
\end{document}
Stefan
LaTeX.org admin
beoram
Posts: 19
Joined: Tue Jul 29, 2008 6:19 pm

Re: babel and times incompatibility

Post by beoram »

Many thanks Stefan.

That seems to work.
Post Reply