0

I want to write a part of the text in Russian:

\section{publications}
\small{Сборник тезисов докладов VI научной молодежной школы-конференции «Химия, физика, биология: пути интеграции», 2018,82-83.}

I already tried to use

\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}

but it doesn't work. What is the problem and the solution?

3

1 Answer 1

2

The template you've shown uses a sans serif font without Cyrillic characters (TeXGyre Heros). Therefore you won't be able to put sentences in Russian as is. But you can change the fonts. I've tried to add the following lines to the preamble of cv.tex:

\newfontfamily\bodyfont{Fira Sans}
\newfontfamily\thinfont[]{Fira Sans Light}
\newfontfamily\headingfont[]{Fira Sans Bold}

\defaultfontfeatures{Mapping=tex-text}
\setmainfont
[Mapping=tex-text, Color=textcolor]
{Fira Sans}

\setmathfont{Fira Sans}
\usepackage[russian,english]{babel}

They switch the document font to Fira Sans (it's a nice free font family with wide range of weights and with Cyrillic support). After that putting

\section{publications}

\otherlanguage{russian}
\small{Сборник тезисов докладов VI научной молодежной школы-конференции
«Химия, физика, биология: пути интеграции», 2018, 82--83.}

to the end of the template prints this bibliographic entry just fine.

If your CV is in Russian then you'd want to use

\usepackage[russian]{babel}

and omit the \otherlanguage{russian} altogether.

2
  • Mapping=tex-text is already default, so it's not necessary to set it. I don't think it's good advice to recommend \setmathfont{Fira Sans}, because Fira Sans is not a math font.
    – egreg
    Commented May 4, 2018 at 11:58
  • Thank you for the comments. I just took a few lines from the friggeri-cv.cls and replaced all the fonts without Cyrillic letters to Fira Sans. I could do better :-) Commented May 4, 2018 at 12:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .