From dcfac8227b2628c7e2c1e06a551300a6403f2b79 Mon Sep 17 00:00:00 2001
From: Andrew Guschin <guschin@altlinux.org>
Date: Tue, 29 Oct 2024 18:51:55 +0400
Subject: wip(nir): report

---
 nir/preamble.sty | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
 create mode 100644 nir/preamble.sty

(limited to 'nir/preamble.sty')

diff --git a/nir/preamble.sty b/nir/preamble.sty
new file mode 100644
index 0000000..9ba4ccd
--- /dev/null
+++ b/nir/preamble.sty
@@ -0,0 +1,76 @@
+\ProvidesPackage{preamble}
+
+\usepackage[english,russian]{babel}
+% \usepackage[T2A]{fontenc}
+% \usepackage[utf8]{inputenc}
+\usepackage{fontspec}
+\setmainfont[
+    Path=./fonts/freefont/,
+    Extension = .otf,
+    UprightFont=*,
+    BoldFont=*Bold,
+    ItalicFont=*Italic,
+    BoldItalicFont=*BoldItalic
+]{FreeSerif}
+\setsansfont[
+    Path=./fonts/freefont/,
+    Extension = .otf,
+    UprightFont=*,
+    BoldFont=*Bold,
+    ItalicFont=*Oblique,
+    BoldItalicFont=*BoldOblique
+]{FreeSans}
+\setmonofont[
+    Path=./fonts/freefont/,
+    Extension = .otf,
+    UprightFont=*,
+    BoldFont=*Bold,
+    ItalicFont=*Oblique,
+    BoldItalicFont=*BoldOblique
+]{FreeMono}
+
+\usepackage{caption}
+\usepackage{float}
+\usepackage{subfigure}
+\usepackage{tikz,pgfplots}
+\pgfplotsset{compat=1.5}
+
+\setcounter{secnumdepth}{4}
+% \titleformat{\paragraph}[block]
+% {\hspace{1.25cm}\normalfont}
+% {\theparagraph}{1ex}{}
+% \titlespacing{\paragraph}
+% {0cm}{2ex plus 1ex minus .2ex}{.4ex plus.2ex}
+
+\usepackage{graphicx}
+\graphicspath{ {./images/} }
+% \usepackage{tempora}
+% \usepackage{minted}
+
+\usepackage{algorithm2e}
+\RestyleAlgo{ruled}
+
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{amsthm}
+\usepackage{braket}
+\usepackage{fancyvrb}
+\usepackage{fvextra}
+\usepackage{listings}
+\usepackage{listingsutf8}
+\usepackage{longtable}
+\usepackage{array}
+\usepackage{url}
+\usepackage{csquotes}
+% \usepackage[colorlinks=false]{hyperref}
+% \usepackage[sort,compress]{cite}
+
+\newcommand{\eqdef}{\stackrel {\rm def}{=}}
+\renewcommand\theFancyVerbLine{\small\arabic{FancyVerbLine}}
+\newtheorem{theorem}{Теорема}
+\newtheorem{definition}{Определение}
+\newtheorem{lemma}{Лемма}
+\newtheorem*{lemma*}{Лемма}
+\newtheorem*{example}{Пример}
+
+\fvset{fontsize=\small, breaklines=true, numbers=left}
-- 
cgit v1.2.3

