Post by RobPost by Enrico GregorioPost by RobI'm lost in the woods. Can anyone just tell me how I can use Cyrillic
in LaTeX (not XeTeX) that won't end up as bitmapped fonts in the pdf?
What font should I install or what package should I use?
The following gives me those bitmapped fonts. If I don't include the
`lmodern' package, even the latin text gets pixelated.
\documentclass[10pt]{article}
\usepackage{lmodern}
\usepackage[OT2,T1]{fontenc}
\usepackage[russian,english]{babel}
\begin{document}
Russian borrowed its word for river, \foreignlanguage{russian}{don},
from Indo-Iranian.\\
\end{document}
You need to install the CMSuper fonts. However, the Latin Modern
fonts lack Cyrillic, so it's best not to use them in this case.
Ciao
Enrico
I can't get it to work. I have installed cm-super both manually and
via the MiKTeX package manager, updated updmap.cfg, refreshed the file
name database... (the instructions in cm-super's INSTALL file for
MiKTeX seem to be quite outdated but I've tried them anyway.)
All to no avail, I still get pixelated cyrillic fonts (I've ditched
lmodern in the above example as well). Is there any package that
should be loaded to 'activate' the cm-super fonts or something? Am I
mistaken in assuming that installing the cm-super fonts should mean
that its type1 fonts are used automatically whenever some Cyrillic is
used via babel, like in the example?
There's a little problem, here. :(
There are cyrillic fonts available in Type1 format for the OT2
encoding, but only for the family wncyr, while OT2 chooses
by default the family wnr which has no Type1 font. :(
I was assuming that CM-Super provided also OT2 fonts, which
unfortunately is not the case.
If all you want is to write some words in Russian, the simplest
trick is to say
\newcommand{\cyrbox}[1]{%
\mbox{\fontencoding{OT2}\fontfamily{wncyr}\selectfont#1}}
and the input for your example becomes
Russian borrowed its word for river, \cyrbox{don},
from Indo-Iranian.
Single words usually don't need hyphenation. There's no
need to load the Russian module for babel, in this case.
If you need to write extensive copy in Russian, it's
definitely better to switch to UTF-8 and input directly
in cyrillic using the T2A encoding.
There's a font family that provides OT2 fonts in Type1
format, Antikwa Torunska.
Ciao
Enrico
Ciao
Enrico