LaTeX forum ⇒ Fonts & Character SetsCopy Cyrillic letters from MS Word to Latex

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Posts: 1
Joined: Mon Nov 15, 2010 2:54 pm

Copy Cyrillic letters from MS Word to Latex

Postby rockdazzie » Mon Nov 15, 2010 5:04 pm

Dear Latex-helpers,
I am writing a thesis in english with Latex using MikTex and TeXnicCenter.
I want to include an abstract in russian with cyrillic letters. A friend translated my english abstract using MS Word. The problem now is how to copy the cyrillic letters from the Word-Document into my Latex file and how to print it out.
I copied and pasted the cyrillic letters to TeXnicCenter. This worked without problem. Than I typed into my header:

However, this did not work. The cyrillic text part in the pdf consists only of ?????????????????????

Please help me!


User avatar
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Mon Nov 15, 2010 11:04 pm

TeXnicCenter (TXC) 1 RC1 stable doesn't not support Unicode. Either try TXC2 alpha 3 (Build 1118) or another editor introduced in the »Editors« section of the forum.

Best regards and welcome to the board
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 15
Joined: Wed Jul 28, 2010 7:25 pm

Postby woj-k » Mon Nov 22, 2010 8:56 pm


this isn't exactly what you were looking for, but if it's a short text (like, say, an abstract), I find it useful to switch to the OT2 or T2A encoding. In the former, you can write Russian using Latin transliteration, which is manageable in a short text. For reasons unknown to me, this produces low-quality output in a .pdf (if you magnify the letters, they're quite grainy and jagged). A less convenient (but typographically much more pleasing) solution is to use T2A, in which each character is a control sequence like \cyra, \cyrv, \CYRZH, \cyrsftsn... This will produce smooth fonts in a .pdf. Here is code with both variants for comparison:

  1. \documentclass{article}
  2. \usepackage[T2A,OT2,T1]{fontenc}%the last invoked encoding will be the default
  4. \newcommand{\russianottwo}[1]{{\fontencoding{OT2}\selectfont #1}}
  6. \newcommand{\russianttwoa}[1]{{\fontencoding{T2A}\selectfont #1}}
  8. \begin{document}
  9. English text.
  11. Russian OT2: \russianottwo{Ivan. Zhenshchina.}
  13. Russian T2A: \russianttwoa{\CYRI\cyrv\cyra\cyrn. \CYRZH\cyre\cyrn\cyrshch\cyri\cyrn\cyra.}
  15. English text.
  16. \end{document}

In this link, under the "OT2 (latin) transliteration" heading, you will find links to files that will give you all the control sequences you need:

The other methods described there are also noteworthy,

Neither T2A or OT2 is as convenient as copy-pasting Cyrillic from a text editor, but it has the advantage of letting you stay within the ASCII character set, thus bypassing your problem with software that can't handle international chars.

Hope that helps!

Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 3 guests