% black background
%\setbeamercolor{normal text}{fg=white,bg=black!90}
%\setbeamercolor*{structure}{fg=blue!33!white}
%\setbeamercolor{alerted text}{use=structure,fg=structure.fg}
%\setbeamercolor*{palette primary}{use=structure,fg=structure.fg}
%\setbeamercolor*{palette secondary}{use=structure,fg=structure.fg!95!black}
%\setbeamercolor*{palette tertiary}{use=structure,fg=structure.fg!90!black}
%\setbeamercolor*{palette quaternary}{use=structure,fg=structure.fg!95!black,bg=black!80}
%\setbeamercolor*{framesubtitle}{fg=white}

\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage[labelformat=empty]{caption}
\usepackage{listings}
\usepackage{url}

\usepackage{fontspec}
\setmainfont{FreeSerif}
\setsansfont{FreeSerif}
\setmonofont{FreeMono}[SizeFeatures={Size=8}]

\lstset{
	basicstyle=\footnotesize\ttfamily,
	breaklines=true,
}

% previous attemp with russian font
%\usepackage{times}
%\renewcommand{\ttdefault}{pcr}

% previous attempt with smaller PRE
%\usepackage{minted}
%\setminted{fontsize=\tiny}
%\setmintedinline{fontsize=\tiny}

% previous attempt with smaller PRE
%\lstset{basicstyle=\SmallMono\tiny,breaklines=true,columns=flexible}
%\lstset{basicstyle=\ttfamily,breaklines=true}
%\lstset{
%	basicstyle=\footnotesize\ttfamily,
%	%backgroundcolor=\color{darkgray},
%	breaklines=true,
%}
%\lstset{basicstyle=\fontfamily{pcr}\selectfont\scriptsize}

