A
A
Alexey Smirnov2017-12-01 17:37:35
Fonts
Alexey Smirnov, 2017-12-01 17:37:35

How to install Russian font Times New Roman in LaTeX?

I need to install the Russian (Cyrillic) Times New Roman font for the entire document.
I am using PdfLaTex compiler and TeXStudio program.
What I did:
1) I tried to use the XeLaTeX compiler in place with the code:

%!TEX TS-program = xelatex

\usepackage[english,russian]{babel} 
\usepackage{fontspec} 
\defaultfontfeatures{Ligatures={TeX},Renderer=Basic} 
\setmainfont[Ligatures={TeX,Historic}]{Times New Roman}

In this case I get an error:
LaTeX error: "kernel/command-already-defined" Control sequence \cyrillicencoding already defined. For immediate help type H <return>. \tl_new:N \cyrillicencoding

2) Tried to use with PdfLaTex compiler. There was no error, but nothing changed either.
\usepackage{mathptmx}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2017-12-01
@ERAFY

Your example works great for me.
Perhaps you forgot: \documentclass[12pt,a4paper]{article}

\documentclass[12pt,a4paper]{article}
\usepackage[english,russian]{babel} 
\usepackage{fontspec} 
\defaultfontfeatures{Ligatures={TeX},Renderer=Basic} 
\setmainfont[Ligatures={TeX,Historic}]{Times New Roman}
\begin{document}
  текст
\end{document}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question