Can we write the Russian/Cyrillic alphabets/symbols using the Latex under the math modes?
For example, for the Greek alphabet, like
$\alpha$, $\beta$,
etc -- it is very easy. This is the sort of answer I want.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityFor UTF-8 encoding:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc} % for UTF8 codepage in Windows
\usepackage[russian]{babel} % need for russian hyphenation and some typographic rules
\begin{document}
\[
\textrm{текст на русском}
\]
\end{document}
For 1 byte codepage in Windows:
\documentclass[12pt,a4paper]{article}
\usepackage[cp1251]{inputenc} % for 1-byte russian codepage in Windows
\usepackage[russian]{babel} % need for russian hyphenation and some typographic rules
\begin{document}
\[
\textrm{текст на русском}
\]
\end{document}
With obsolete package mathtext
it is possible write in russian in math mode without any additional commands:
\documentclass[12pt,a4paper]{article}
\usepackage{mathtext} % must be before codepage and localization
\usepackage[cp1251]{inputenc} % for 1-byte russian codepage in Windows
\usepackage[russian]{babel} % need for russian hyphenation and some typographic rules
\begin{document}
\[
\alpha,\,\beta\quad текст\ на\ русском
\]
\end{document}
And russian letters by command in latin:
\documentclass[12pt,a4paper]{article}
\usepackage[OT1,T2A]{fontenc}
\begin{document}
\[
\textrm{\cyrb\CYRB\cyrshch\cyryu\cyryo\cyrery\cyrie\cyry\cyrm\cyrya\cyrishrt\CYRISHRT}
\]
\end{document}
You can find full list of commands for russian (and other сyrillic) letters in this document: The Cyrillic font encodings: T2A, T2B, T2C,and X2.
T2A
.
\textrm{}
or other commands that turn the text mode: $\textrm{русский текст}$.