1 \documentclass[a4paper,russian
]{article
}
2 % generated by Docutils <http://docutils.sourceforge.net/>
3 \usepackage{cmap
} % fix search and cut-and-paste in Acrobat
5 \usepackage[T1,T2A
]{fontenc}
6 \usepackage[utf8
]{inputenc}
7 \usepackage[english,russian
]{babel
}
8 \setcounter{secnumdepth
}{0}
10 %%% Custom LaTeX preamble
12 \usepackage{mathptmx
} % Times
13 \usepackage[scaled=
.90]{helvet
}
16 %%% User specified packages and stylesheets
19 %%% Fallback definitions for Docutils-specific commands
22 \providecommand*
{\DUroletitlereference}[1]{\textsl{#1}}
25 \ifthenelse{\isundefined{\hypersetup}}{
26 \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,unicode=true
]{hyperref
}
28 \urlstyle{same
} % normal text font (alternatives: tt, rm, sf)
39 первый пример: «Здравствуй, мир!»
46 \foreignlanguage{english
}{first example: “Hello world”.
}
53 \foreignlanguage{english
}{This example tests rendering of Latin and Cyrillic characters by the LaTeX
54 and XeTeX writers. Check the compiled PDF for garbage characters in text and
57 \foreignlanguage{english
}{To work around a problem with Cyrillic in PDF-bookmarks in
\DUroletitlereference{hyperref
}
58 versions older than v6.79g
2009/
11/
20, the test caller
\texttt{latex
\_cyrillic.py
}
59 sets
\texttt{hyperref
\_options} to
\texttt{'unicode=true'
} while
\texttt{xetex
\_cyrillic.py
}
60 sets it to
\texttt{'unicode=false'
}. The recommended option for current
61 (
2011-
08-
24) hyperref versions is
\texttt{'pdfencoding=auto'
}.
}