From f642380d55c66e4e5deaaa6c7cef15f6dbfe36c6 Mon Sep 17 00:00:00 2001
From: syn <isaqtm@gmail.com>
Date: Wed, 15 Apr 2020 04:35:30 +0300
Subject: Reorganize & alg-1

---
 intro.sty | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 intro.sty

(limited to 'intro.sty')

diff --git a/intro.sty b/intro.sty
new file mode 100644
index 0000000..2c9efac
--- /dev/null
+++ b/intro.sty
@@ -0,0 +1,94 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{intro}[2020/04/04 Math tasks intro]
+
+\usepackage[no-math]{fontspec}
+\setmainfont{Gentium Plus}
+\setmonofont{Inconsolata LGC}
+\newfontfamily\slab{Roboto Slab}
+\newfontfamily\roboto{Roboto}
+
+\setlength\headheight{13.6pt}
+
+\usepackage{
+    amsmath, amssymb, mathtools, relsize,
+    graphicx, xcolor,
+    fancyhdr,
+    hyperref,
+    enumerate,
+    framed,
+    lastpage
+}
+\usepackage{datetime2}
+\usepackage[shortlabels]{enumitem}
+\usepackage{mathshit}
+
+
+\flushbottom
+
+\renewcommand{\baselinestretch}{1.1}
+
+\usepackage{geometry}
+\geometry{
+    b5paper,
+    left=0.4in, right=0.4in,
+    top=0.5in, bottom=0.6in,
+    headsep=.1in
+}
+
+\newcommand{\question}[2]{
+    \def\FrameCommand{
+        \fboxsep=\FrameSep\fcolorbox{gray}{white}
+    }
+    \MakeFramed{
+        \advance\hsize-\width \FrameRestore
+    }
+        \noindent {\small \roboto \textbf{#1}}
+        #2
+    \endMakeFramed
+}
+
+\newcommand{\dmquestion}[1]{
+    \begin{center}
+        {
+            \color{darkgray}
+            \framebox[3em]{
+                \color{black}
+                \texttt{#1}
+            }
+        }
+    \end{center}
+}
+
+\setlength\FrameSep{0.75em}
+\setlength\OuterFrameSep{\partopsep}
+
+\hypersetup{colorlinks=true, linkcolor=magenta}
+
+% -- Left/right header text and footer (to appear on every page) --
+\pagestyle{fancy}
+\renewcommand{\footrulewidth}{0pt}
+\renewcommand{\headrulewidth}{0pt}
+
+% clear first page
+\fancypagestyle{plain}
+{
+   \fancyhf{}
+   \renewcommand{\headrulewidth}{0pt}
+   \renewcommand{\footrulewidth}{0pt}
+}
+
+\cfoot{}
+\rfoot{\footnotesize \texttt{\thepage}}
+
+\author{Шарафатдинов Камиль \and БПМИ192}
+\date{билд \qquad \small\texttt{\DTMnow+0300}}
+
+\setlength{\leftskip}{24pt}
+\setlength{\rightskip}{24pt}
+
+% simplified inkscape svg insertion
+\newcommand{\drawcat}[1]{
+    \begin{figure}
+        \includegraphics[width=#1,page=1]{cat.pdf}
+    \end{figure}
+}
-- 
cgit v1.2.1-18-gbd029

