documentclass article usepackage utf8 inputenc usepackage russian babe

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
%\usepackage{times}
\author{Alex. A. Smirnov}
\title{Простой пример работы с TeX}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\section{For a you work}
Hello, World!1
Привет мир.
\end{document}