1 \documentclass[a4paper,russian
]{article
}
2 % generated by Docutils <https://docutils.sourceforge.io/>
3 % rubber: set program xelatex
5 % \defaultfontfeatures{Scale=MatchLowercase}
6 % straight double quotes (defined T1 but missing in TU):
7 \ifdefined \UnicodeEncodingName
8 \DeclareTextCommand{\textquotedbl}{\UnicodeEncodingName}{%
9 {\addfontfeatures{RawFeature=-tlig,Mapping=
}\char34}}%
12 \usepackage{polyglossia
}
13 \setdefaultlanguage{russian
}
14 \setotherlanguages{english
}
15 \setcounter{secnumdepth
}{0}
17 %%% Custom LaTeX preamble
18 % Linux Libertine (free, wide coverage, not only for Linux)
19 \setmainfont{Linux Libertine O
}
20 \setsansfont{Linux Biolinum O
}
21 \setmonofont[HyphenChar=None,Scale=MatchLowercase
]{DejaVu Sans Mono
}
23 %%% User specified packages and stylesheets
25 %%% Fallback definitions for Docutils-specific commands
27 \ifthenelse{\isundefined{\hypersetup}}{
28 \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue
]{hyperref
}
30 \urlstyle{same
} % normal text font (alternatives: tt, rm, sf)
45 первый пример: «Здравствуй, мир!»
52 \foreignlanguage{english
}{first example: “Hello world”.
}
59 Этот документ испытивает изображение LaTeXом кириллических букв.
61 \foreignlanguage{english
}{This
document tests the rendering of Latin and Cyrillic characters by the
62 LaTeX and XeTeX writers. Check the compiled PDF for garbage characters in