summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xecyr/listings-utf8-ex.tex
blob: 7d6bb9e3b18adb2ae36383c6b0f5ef7cd78e70d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\documentclass[a4paper,10pt]{article}
\usepackage{xecyr}

\setromanfont{Times New Roman}

\usepackage{listings}
\lstset{%
language=[AlLaTeX]TEX,%
extendedchars=true,%
}

\begin{document}

\begin{lstlisting}
Корова пошла гулять.
\end{lstlisting}

\end{document}