Code: Select all
\documentclass{beamer}
\usepackage[OT2,OT1]{fontenc}
\newcommand{\cyr}{%
\renewcommand\encodingdefault{OT2}%
\normalfont\selectfont}
\newcommand{\lat}{%
\renewcommand\rmdefault{cmr}%
\renewcommand\encodingdefault{OT1}%
\normalfont\selectfont}
\begin{document}
\begin{frame}
\cyr test
\begin{definition}
test
\end{definition}
\begin{theorem}
test
\end{theorem}
test \emph{test}
\lat test \emph{test}
\end{frame}
\end{document}
I have already tried to install cm-super package (upon an advice that I found on the internet), but that did not solve the problem. (I did run updmap.exe after installing the package.)
Is there a way to restore the previous behavior? Note: I would prefer to keep the same code (or, at the very least, to make only small changes to it), that is, if there is a solution that includes writing Cyrillic script in some another way, that does not suit me.
So, just to make myself more clear, this is the output that the code gives: and this is precisely how I indeed want the output to look like. The only problem is that the letters are rasterized (actually, the Cyrillic letters; the Latin ones are OK). Therefore, the question is what I should do in order to get the same output but with vector letters. Exactly the same code was working perfectly on my previous operating system; therefore, I hope that there is an easy fix for this problem.
Thank you in advance.