summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-08 03:00:28 +0000
committerNorbert Preining <norbert@preining.info>2019-10-08 03:00:28 +0000
commite5ffc42ed260285f76383ae18dd0f4a603c07fa8 (patch)
tree7d901aebae17ed14f1c9812c9339a88d68dc74e4 /macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex
parentba86549c94b1e8b6b19bc82b01e85a7e513e7586 (diff)
CTAN sync 201910080300
Diffstat (limited to 'macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex')
-rw-r--r--macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex b/macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex
new file mode 100644
index 0000000000..005a7ae8a8
--- /dev/null
+++ b/macros/xetex/latex/xecyr/doc/old/listings-utf8-ex.tex
@@ -0,0 +1,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}