diff options
Diffstat (limited to 'sem5')
| -rw-r--r-- | sem5/Lecture.cls | 96 | ||||
| -rw-r--r-- | sem5/Makefile | 2 | ||||
| -rw-r--r-- | sem5/preamble.sty | 74 | ||||
| -rwxr-xr-x | sem5/run.sh | 2 |
4 files changed, 174 insertions, 0 deletions
diff --git a/sem5/Lecture.cls b/sem5/Lecture.cls new file mode 100644 index 0000000..32b3de1 --- /dev/null +++ b/sem5/Lecture.cls @@ -0,0 +1,96 @@ +\LoadClass[a4paper,oneside]{article} + +\RequirePackage[utf8]{inputenc} +\RequirePackage[russian]{babel} +\RequirePackage{hyperref} +\RequirePackage{underscore} +\RequirePackage{setspace} +\RequirePackage{indentfirst} +\RequirePackage{cancel} +\RequirePackage[left=1.4cm,right=1.4cm, + top=2.3cm,bottom=2.3cm,bindingoffset=0cm]{geometry} +\singlespacing +\RequirePackage{float} +\RequirePackage{fancyhdr} +% \pagestyle{fancy} +% \pagestyle{headings} + + +%---------------------------------------------------------------------------------------- +% TITLE PAGE +%---------------------------------------------------------------------------------------- +\renewcommand{\maketitle} +{ + +\begin{titlepage} % Suppresses displaying the page number on the title page and the subsequent page counts as page 1 + \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for horizontal lines, change thickness here + + \center % Centre everything on the page + + %------------------------------------------------ + % Headings + %------------------------------------------------ + + % \textsc{\LARGE Саратовский Государственный Университет}\\[1.5cm] % Main heading such as the name of your university/college + \textsc{\LARGE Саратовский Государственный Университет}\\[0.2cm] % Main heading such as the name of your university/college + \textsc{\Large Факультет Компьютерных Наук и Информационных Технологий}\\[0.5cm] % Major heading such as course name + + % \textsc{\large 1214}\\[0.5cm] % Minor heading such as course title + + %------------------------------------------------ + % Title + %------------------------------------------------ + + \HRule\\[0.6cm] + % {\huge\bfseries Универсальная прикладная алгебра}\\[0.4cm] % Title of your document + {\huge\bfseries\textsc \@title}\\[0.4cm] % Title of your document + + \HRule\\[1.5cm] + + %------------------------------------------------ + % Author(s) + %------------------------------------------------ + + % \begin{minipage}{0.4\textwidth} + % \begin{flushleft} + % \large + % \textit{Законспектировали}\\ + % \textsc{Андрей Гущин\\Иван Улитин\\Роман Стаин\\Николай Шустов} % Your name + % \end{flushleft} + % \end{minipage} + % ~ + % \begin{minipage}{0.4\textwidth} + % \begin{flushright} + % \large + % % \textit{Редактор}\\ + % % \textsc{Боба} % Supervisor's name + % \end{flushright} + % \end{minipage} + + % If you don't want a supervisor, uncomment the two lines below and comment the code above + {\large\textit{Законспектировал}}\\ + \textsc{\@author} % Your name + + %------------------------------------------------ + % Date + %------------------------------------------------ + + \vfill\vfill\vfill\vfill\vfill % Position the date 3/4 down the remaining page + + {\large\the\year{} г.} % Date, change the \today to a set date if you want to be precise + + %------------------------------------------------ + % Logo + %------------------------------------------------ + + %\vfill\vfill + %\includegraphics[width=0.2\textwidth]{placeholder.jpg}\\[1cm] % Include a department/university logo - this will require the graphicx package + + %---------------------------------------------------------------------------------------- + + \vfill % Push the date up 1/4 of the remaining page + +\end{titlepage} + +} +%----------------------------------------------------------------------------------------
\ No newline at end of file diff --git a/sem5/Makefile b/sem5/Makefile new file mode 100644 index 0000000..202e7ad --- /dev/null +++ b/sem5/Makefile @@ -0,0 +1,2 @@ +clean: + find . | grep -P "(.aux|.fdb_latexmk|.fls|.log|.synctex.gz|.out)" | xargs rm
\ No newline at end of file diff --git a/sem5/preamble.sty b/sem5/preamble.sty new file mode 100644 index 0000000..e3939ec --- /dev/null +++ b/sem5/preamble.sty @@ -0,0 +1,74 @@ +\ProvidesPackage{../preamble} + +\RequirePackage{mathtools} +\RequirePackage{amsfonts} +\RequirePackage{enumitem} +% \RequirePackage[standard]{ntheorem} +\RequirePackage{amsthm} +\RequirePackage{tikz} +\RequirePackage{graphicx} +\graphicspath{ {./images/} } + +\newcommand{\bydef}{\stackrel{\text{по опр.}}{\implies}} % by definition - по определению +\newcommand{\dn}{\stackrel{\text{об.}}{=}} % denote - обозначим +\newcommand{\imaginary}{\mathrm{Im} \,} +\newcommand{\real}{\mathrm{Re} \,} +\newcommand{\prop}[1]{#1^{\text{o}}} + +\newcommand{\N}{\mathbb{N}} +\newcommand{\R}{\mathbb{R}} +\newcommand{\Z}{\mathbb{Z}} +\renewcommand{\C}{\mathbb{C}} +\newcommand{\bb}[1]{\mathbb{#1}} + +\newcommand{\approach}[1]{\underset{#1}{\longrightarrow}} +\newcommand{\series}[1]{\displaystyle\sum_{k=1}^\infty #1} +\newcommand{\seriesx}{\displaystyle\sum_{k=1}^\infty x_k} +\newcommand{\seriespow}{\displaystyle\sum_{k=0}^\infty a_k (x - x_0)^k} +\newcommand{\abs}[1]{\left|#1\right|} +\renewcommand{\over}[2]{\stackrel{#1}{#2}} + +% \theoremstyle{break} + +% --- Теорема --- % +% \newtheoremstyle{break}% name +% {}% Space above, empty = `usual value' +% {}% Space below +% {\itshape}% Body font +% {}% Indent amount (empty = no indent, \parindent = para indent) +% {\bfseries}% Thm head font +% {.}% Punctuation after thm head +% {\newline}% Space after thm head: \newline = linebreak +% {}% Thm head spec +% \theorembodyfont{\normalfont} +% \theoremstyle{break} +\newtheorem{theorem}{Теорема}[subsection] +% --------------- % + +% --- Определение --- % +% \theorembodyfont{\normalfont} +\theoremstyle{definition} +\newtheorem{definition}{Определение}[subsection] +% ------------------- % + + +% --- Пример --- % +\theoremstyle{definition} +\newtheorem*{example}{Пример} +% -------------- % + +% --- Следствие --- % +\theoremstyle{definition} +\newtheorem*{corollary}{Следствие} +% ----------------- % + +% --- Замечание --- % +\theoremstyle{definition} +\newtheorem*{remark}{Замечание} +% ----------------- % + + +% --- Лемма --- % +\theoremstyle{definition} +\newtheorem*{lemma}{Лемма} +% ----------------- %
\ No newline at end of file diff --git a/sem5/run.sh b/sem5/run.sh new file mode 100755 index 0000000..23e6b81 --- /dev/null +++ b/sem5/run.sh @@ -0,0 +1,2 @@ +#!/bin/sh +cd $1 && find -name "*.tex" | entr pandoc -s $1.tex -o $1.md
\ No newline at end of file |