Fonts & Character SetsHelvetica in cyrillic

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
buenasdiaz
Posts: 4
Joined: Tue Jul 20, 2010 5:33 pm

Helvetica in cyrillic

Post by buenasdiaz »

I tried to use helvetica in a document with russian text, but obtained only formulas in helvetica.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage[T2A]{fontenc}
...
\usepackage{fourier}
\usepackage[scaled]{helvet}
...

I got the following:
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
Last edited by buenasdiaz on Thu Sep 02, 2010 7:53 pm, edited 1 time in total.

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
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Helvetica in cyrillic

Post by frabjous »

I don't really know the solution to your problem, but a few observations:

1. Generally the helvet package only sets the sans font as Helvetica. It doesn't touch the roman font. To change the main text to sans you need to put in:

\renewcommand*{\familydefault}{\sfdefault}

2. I could be wrong, but I don't think the generic PostScript version of Helvetica that comes with LaTeX supports the T2A encoding, and I'm not sure the T1 encoding it's usually used with supports Cyrillic characters. Indeed, I'm not sure these characters are even present in these fonts. I hope I'm wrong about that.

If it were me, I'd probably switch to XeLaTeX with the fontspec/mathspec packages and use regular system fonts. If you don't have a commercial Helvetica font, you could find substitutes no doubt. Surprisingly, TeX Gyre Heros doesn't seem to support Cyrillic either, but you could use, e.g., Liberation Sans, which is very close to Helvetica.
buenasdiaz
Posts: 4
Joined: Tue Jul 20, 2010 5:33 pm

Re: Helvetica in cyrillic

Post by buenasdiaz »

Thank you very much frabjous. I have done exactly what you proposed and got the result which I like.
Post Reply