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?

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.

  • 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 May 4 '18 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 :-) – Sergei Golovan May 4 '18 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.