47 lines
1.6 KiB
TeX
47 lines
1.6 KiB
TeX
\documentclass{article} % basic document class (template).
|
|
\usepackage[T2A,T1]{fontenc} % specify font encodings.
|
|
\usepackage[utf8]{inputenc} % specify input file encodings.
|
|
\usepackage[bidi=default]{babel} % use babel for i11n.
|
|
\usepackage{graphicx} % image support.
|
|
\usepackage{xcolor} % colored text support.
|
|
\usepackage{montserrat} % custom font.
|
|
\usepackage{hyperref} % hyperlinks.
|
|
\usepackage{indentfirst} % auto indent for paragraphs.
|
|
\usepackage{luacode} % lua scripts support.
|
|
|
|
% configure geometry.
|
|
\usepackage[
|
|
a4paper,
|
|
left = 0.50in,
|
|
right = 0.50in,
|
|
top = 0.5in,
|
|
bottom = 0.5in
|
|
]{geometry}
|
|
|
|
\input{shell} % import shell support.
|
|
\input{style} % import common styles.
|
|
\input{const} % import constant values.
|
|
|
|
% configure hyperlinks.
|
|
\hypersetup{
|
|
linktocpage = true,
|
|
colorlinks = true,
|
|
hidelinks = true,
|
|
linktoc = all
|
|
}
|
|
|
|
\graphicspath{ {./image} } % specify where images are stored.
|
|
|
|
\babelprovide[import]{russian} % add russian support.
|
|
\babelfont{rm}{montserrat} % use custom serif font for english.
|
|
\babelfont{sf}{montserrat} % use custom sans font for english.
|
|
\babelfont{tt}{montserrat} % use custom mono font for english.
|
|
\babelfont[russian]{rm}{montserrat} % use custom serif font for russian.
|
|
\babelfont[russian]{sf}{montserrat} % use custom sans font for russian.
|
|
\babelfont[russian]{tt}{montserrat} % use custom mono font for russian.
|
|
|
|
\begin{document}
|
|
\input{i11n} % import internationalization support.
|
|
\input{page/title} % import title.
|
|
\end{document}
|