template_tex/tex/main.tex

53 lines
1.6 KiB
TeX
Raw Normal View History

2023-09-01 22:54:35 +03:00
\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 i18n.
\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.
\usepackage{tcolorbox} % code blocks.
\usepackage{listofitems} % for loops.
\input{shell} % import shell support.
% configure geometry.
\usepackage[
a4paper,
left = 0.5in,
right = 0.5in,
top = 0.5in,
bottom = 0.5in
]{geometry}
% paragraph spacing.
\usepackage[
skip = 4pt,
indent = 20pt
]{parskip}
% configure hyperlinks.
\hypersetup{
linktocpage = true,
colorlinks = true,
hidelinks = true,
linktoc = all
}
% specify where images are stored.
\graphicspath{ {../image}{../build/image} }
\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}
\end{document}