Using Cyrillic Text in LaTeX

Here's a quick example of a LaTeX file including some Cyrillic text.

\documentclass{article}
\usepackage[OT2,T1]{fontenc}
\newcommand\textcyr[1]{{\fontencoding{OT2}\fontfamily{wncyr}\selectfont #1}}
\begin{document}
English text \dots \textcyr{chto-to po-russki} \dots more English text.
\end{document}

Here's another way of doing this, using babel:

\documentclass{article}
\usepackage[OT2,T1]{fontenc}
\usepackage[russian,USenglish]{babel}
\begin{document}
English text \dots \foreignlanguage{russian}{chto-to po-russki} \dots
more English text.
\end{document}

If you can read German, a good reference for this sort of thing is http://home.vr-web.de/was/x/pmcyr.pdf.


Last updated 21 February 2005