> ## Documentation Index
> Fetch the complete documentation index at: https://resources.latex-cloud-studio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LaTeX in Russian

> Prepare Russian LaTeX documents with Cyrillic support and language-specific hyphenation.

Use this setup to typeset documents in russian with stable language rules and typography.

## pdfLaTeX Setup

```latex pdflatex-russian.tex theme={null}
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}

\begin{document}
\selectlanguage{russian}
\textit{Primer teksta na russkom yazyke.}
\end{document}
```

## XeLaTeX / LuaLaTeX Setup

```latex xelatex-russian.tex theme={null}
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
\setmainfont{Times New Roman}

\begin{document}
\selectlanguage{russian}
\textit{Primer teksta na russkom yazyke.}
\end{document}
```

## Practical Notes

* Keep one compiler across the entire project.
* Verify fonts are available in local or cloud environments.
* For multilingual bibliographies, use Unicode-safe workflows.

## Related Pages

* [Multi-language documents](/learn/latex/how-to/multi-language-documents)
* [Choosing a compiler](/learn/latex/basics/choosing-compiler)
* [Bibliography and citations](/learn/latex/bibliography-citations)
