summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xecyr/old/listings-utf8-ex.tex
blob: 005a7ae8a819ea5b1fd6780f131f32faedaaf3fc (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}