initial commit

This commit is contained in:
Denis Volkov 2024-09-15 23:29:39 +03:00
commit fb790774ec
41 changed files with 1067 additions and 0 deletions

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,10 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="LatexBibinputsRelativePath" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="LatexMissingDocumentEnvironment" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="LatexMissingDocumentclass" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="LatexPackageCouldNotBeFound" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="LatexUndefinedCommand" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

7
.idea/misc.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Black">
<option name="sdkName" value="Python 3.12" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/edu-tex-template.iml" filepath="$PROJECT_DIR$/.idea/edu-tex-template.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

BIN
Images/cat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
Images/dog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

9
README.md Normal file
View File

@ -0,0 +1,9 @@
### Команда для генерации pdf:
```
docker run --rm -i -v ${PWD}:/data -v ${PWD}/fonts:/root/.fonts mingc/latex xelatex -shell-escape main.tex
```
### Команда для сборки литературы:
```
docker run --rm -i -v ${PWD}:/data -v ${PWD}/fonts:/root/.fonts mingc/latex biber main
```

149
Settings/format.aux Normal file
View File

@ -0,0 +1,149 @@
\relax
\providecommand\hyper@newdestlabel[2]{}
\@setckpt{Settings/format}{
\setcounter{page}{1}
\setcounter{equation}{0}
\setcounter{enumi}{0}
\setcounter{enumii}{0}
\setcounter{enumiii}{0}
\setcounter{enumiv}{0}
\setcounter{footnote}{0}
\setcounter{mpfootnote}{0}
\setcounter{part}{0}
\setcounter{section}{0}
\setcounter{subsection}{0}
\setcounter{subsubsection}{0}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{AM@survey}{0}
\setcounter{max@tocdepth}{3}
\setcounter{max@secnumdepth}{3}
\setcounter{caption@flags}{0}
\setcounter{continuedfloat}{0}
\setcounter{rlistctr}{0}
\setcounter{parentequation}{0}
\setcounter{tabx@nest}{0}
\setcounter{listtotal}{0}
\setcounter{listcount}{0}
\setcounter{liststart}{0}
\setcounter{liststop}{0}
\setcounter{citecount}{0}
\setcounter{citetotal}{0}
\setcounter{multicitecount}{0}
\setcounter{multicitetotal}{0}
\setcounter{instcount}{0}
\setcounter{maxnames}{3}
\setcounter{minnames}{1}
\setcounter{maxitems}{3}
\setcounter{minitems}{1}
\setcounter{citecounter}{0}
\setcounter{maxcitecounter}{0}
\setcounter{savedcitecounter}{0}
\setcounter{uniquelist}{0}
\setcounter{uniquename}{0}
\setcounter{refsection}{0}
\setcounter{refsegment}{0}
\setcounter{maxextratitle}{0}
\setcounter{maxextratitleyear}{0}
\setcounter{maxextraname}{0}
\setcounter{maxextradate}{0}
\setcounter{maxextraalpha}{0}
\setcounter{abbrvpenalty}{50}
\setcounter{highnamepenalty}{50}
\setcounter{lownamepenalty}{25}
\setcounter{maxparens}{3}
\setcounter{parenlevel}{0}
\setcounter{mincomprange}{10}
\setcounter{maxcomprange}{100000}
\setcounter{mincompwidth}{1}
\setcounter{afterword}{0}
\setcounter{savedafterword}{0}
\setcounter{annotator}{0}
\setcounter{savedannotator}{0}
\setcounter{author}{0}
\setcounter{savedauthor}{0}
\setcounter{bookauthor}{0}
\setcounter{savedbookauthor}{0}
\setcounter{commentator}{0}
\setcounter{savedcommentator}{0}
\setcounter{editor}{0}
\setcounter{savededitor}{0}
\setcounter{editora}{0}
\setcounter{savededitora}{0}
\setcounter{editorb}{0}
\setcounter{savededitorb}{0}
\setcounter{editorc}{0}
\setcounter{savededitorc}{0}
\setcounter{foreword}{0}
\setcounter{savedforeword}{0}
\setcounter{holder}{0}
\setcounter{savedholder}{0}
\setcounter{introduction}{0}
\setcounter{savedintroduction}{0}
\setcounter{namea}{0}
\setcounter{savednamea}{0}
\setcounter{nameb}{0}
\setcounter{savednameb}{0}
\setcounter{namec}{0}
\setcounter{savednamec}{0}
\setcounter{translator}{0}
\setcounter{savedtranslator}{0}
\setcounter{shortauthor}{0}
\setcounter{savedshortauthor}{0}
\setcounter{shorteditor}{0}
\setcounter{savedshorteditor}{0}
\setcounter{labelname}{0}
\setcounter{savedlabelname}{0}
\setcounter{institution}{0}
\setcounter{savedinstitution}{0}
\setcounter{lista}{0}
\setcounter{savedlista}{0}
\setcounter{listb}{0}
\setcounter{savedlistb}{0}
\setcounter{listc}{0}
\setcounter{savedlistc}{0}
\setcounter{listd}{0}
\setcounter{savedlistd}{0}
\setcounter{liste}{0}
\setcounter{savedliste}{0}
\setcounter{listf}{0}
\setcounter{savedlistf}{0}
\setcounter{location}{0}
\setcounter{savedlocation}{0}
\setcounter{organization}{0}
\setcounter{savedorganization}{0}
\setcounter{origlocation}{0}
\setcounter{savedoriglocation}{0}
\setcounter{origpublisher}{0}
\setcounter{savedorigpublisher}{0}
\setcounter{publisher}{0}
\setcounter{savedpublisher}{0}
\setcounter{language}{0}
\setcounter{savedlanguage}{0}
\setcounter{origlanguage}{0}
\setcounter{savedoriglanguage}{0}
\setcounter{pageref}{0}
\setcounter{savedpageref}{0}
\setcounter{textcitecount}{0}
\setcounter{textcitetotal}{0}
\setcounter{textcitemaxnames}{0}
\setcounter{biburlbigbreakpenalty}{100}
\setcounter{biburlbreakpenalty}{200}
\setcounter{biburlnumpenalty}{0}
\setcounter{biburlucpenalty}{0}
\setcounter{biburllcpenalty}{0}
\setcounter{smartand}{1}
\setcounter{blx@gost@pointer}{0}
\setcounter{bbx:relatedcount}{0}
\setcounter{bbx:relatedtotal}{0}
\setcounter{cbx@tempcnta}{0}
\setcounter{cbx@tempcntb}{0}
\setcounter{cbx@tempcntc}{0}
\setcounter{cbx@tempcntd}{0}
\setcounter{Item}{0}
\setcounter{Hfootnote}{0}
\setcounter{Hy@AnnotLevel}{0}
\setcounter{bookmark@seq@number}{0}
}

103
Settings/format.tex Normal file
View File

@ -0,0 +1,103 @@
%%%%%%%%%%%%%%%%% Оформление ГОСТА%%%%%%%%%%%%%%%%%
% Все параметры указаны в ГОСТЕ на 2021, а именно:
% Шрифт для курсовой Times New Roman, размер 14 пт.
\setdefaultlanguage[spelling=modern]{russian}
\setotherlanguage{english}
\setmonofont{Source Code Pro}
\newfontfamily{\cyrillicfonttt}{Source Code Pro}
\setmainfont{Times New Roman}
\setromanfont{Times New Roman}
\newfontfamily\cyrillicfont{Times New Roman}
% шрифт для URL-ссылок
\urlstyle{same}
% Междустрочный интервал должен быть равен 1.5 сантиметра.
\linespread{1.5} % междустрочный интервал
% Отступ для элементов списка
\setlist{leftmargin=1.75cm}
\setlist[itemize,2]{label=$\circ$, leftmargin=1cm}
% Каждая новая строка должна начинаться с отступа равного 1.25 сантиметра.
\setlength{\parindent}{1.25cm} % отступ для абзаца
% Текст, который является основным содержанием, должен быть выровнен по ширине по умолчанию включен из-за типа документа в main.tex
%%%%%%%%%%%%%%%%%% Дополнения %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Путь до папки с изображениями
\graphicspath{ {./Images/} }
% Внесение titlepage в учёт счётчика страниц
\makeatletter
\renewenvironment{titlepage} {
\thispagestyle{empty}
}
% Цвет гиперссылок и цитирования
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
filecolor=blue,
citecolor = blue,
urlcolor=blue,
}
% Нумерация рисунков
%\counterwithin{figure}{section}
%\counterwithin{figure}
% Нумерация таблиц
%\counterwithin{table}
%\counterwithin{table}{section}
% шрифт для листингов с лигатурами
% \setmonofont{FiraCode-Regular.otf}[
% SizeFeatures={Size=10},
% Path = Settings/,
% Contextuals=Alternate
% ]
\setmonofont{Source Code Pro}
% Перенос текста при переполнении
\emergencystretch=25pt
% \dottedcontents{<section>}[<left>]{<above-code>}
% {<label width>}{<leader width>}
\dottedcontents{section}[4em]{\bfseries}{4em}{1pc}
\dottedcontents{subsection}[4em]{}{2.5em}{1pc}
\renewcommand{\thesection}{Глава \arabic{section}}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
% настройка подсветки кода и окружения для листингов
%\usemintedstyle{colorful} % делает подсветку для кода
%\newenvironment{code}{\captionsetup{type=listing}}{}
% Посмотреть ещё стили можно тут https://www.overleaf.com/learn/latex/Code_Highlighting_with_minted
% \captionsetup[table]{
% justification=raggedleft,
% singlelinecheck=off
% }
% Замена разделителя при цитировании на (,)
\renewcommand*{\multicitedelim}{\addcomma\space}

View File

@ -0,0 +1,10 @@
\ProvidesFile{gost-numeric-min.bbx}
[2023/04/25\space v1.24\space biblatex-gost styles]
\RequireBibliographyStyle{gost-numeric}
\AtEveryBibitem{%
\usebibmacro{setup:min}}
\ExecuteBibliographyOptions{bibisbn=false,biburl=false,bibdoi=false,bibeprint=false}
\endinput

55
Settings/gost-numeric.bbx Normal file
View File

@ -0,0 +1,55 @@
\ProvidesFile{gost-numeric.bbx}
[2023/04/25\space v1.24\space biblatex-gost styles]
\RequireBibliographyStyle{gost-standard}
\ExecuteBibliographyOptions{labelnumber,bibisbn,biburl,bibdoi,bibeprint}
\providebool{bbx:subentry}
\DeclareBibliographyOption{subentry}[true]{%
\setbool{bbx:subentry}{#1}}
\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}}
\DeclareFieldFormat{labelnumberwidth}{#1\addperiod}
\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}}
\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}
\defbibenvironment{shorthand}
{\list
{\printfield[shorthandwidth]{shorthand}}
{\setlength{\labelwidth}{\shorthandwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}%
\renewcommand*{\makelabel}[1]{\hss##1}}}
{\endlist}
{\item}
\DeclareBibliographyDriver{set}{%
\entryset
{\ifbool{bbx:subentry}
{\printfield[bibentrysetcount]{entrysetcount}%
\printunit*{\addnbspace}}
{}}
{}%
\newunit\newblock
\usebibmacro{setpageref}%
\finentry}
\endinput

162
Settings/listings.aux Normal file
View File

@ -0,0 +1,162 @@
\relax
\providecommand\hyper@newdestlabel[2]{}
\@setckpt{Settings/listings}{
\setcounter{page}{1}
\setcounter{equation}{0}
\setcounter{enumi}{0}
\setcounter{enumii}{0}
\setcounter{enumiii}{0}
\setcounter{enumiv}{0}
\setcounter{footnote}{0}
\setcounter{mpfootnote}{0}
\setcounter{part}{0}
\setcounter{section}{0}
\setcounter{subsection}{0}
\setcounter{subsubsection}{0}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{AM@survey}{0}
\setcounter{max@tocdepth}{3}
\setcounter{max@secnumdepth}{3}
\setcounter{caption@flags}{0}
\setcounter{continuedfloat}{0}
\setcounter{rlistctr}{0}
\setcounter{parentequation}{0}
\setcounter{tabx@nest}{0}
\setcounter{listtotal}{0}
\setcounter{listcount}{0}
\setcounter{liststart}{0}
\setcounter{liststop}{0}
\setcounter{citecount}{0}
\setcounter{citetotal}{0}
\setcounter{multicitecount}{0}
\setcounter{multicitetotal}{0}
\setcounter{instcount}{0}
\setcounter{maxnames}{3}
\setcounter{minnames}{1}
\setcounter{maxitems}{3}
\setcounter{minitems}{1}
\setcounter{citecounter}{0}
\setcounter{maxcitecounter}{0}
\setcounter{savedcitecounter}{0}
\setcounter{uniquelist}{0}
\setcounter{uniquename}{0}
\setcounter{refsection}{0}
\setcounter{refsegment}{0}
\setcounter{maxextratitle}{0}
\setcounter{maxextratitleyear}{0}
\setcounter{maxextraname}{0}
\setcounter{maxextradate}{0}
\setcounter{maxextraalpha}{0}
\setcounter{abbrvpenalty}{50}
\setcounter{highnamepenalty}{50}
\setcounter{lownamepenalty}{25}
\setcounter{maxparens}{3}
\setcounter{parenlevel}{0}
\setcounter{mincomprange}{10}
\setcounter{maxcomprange}{100000}
\setcounter{mincompwidth}{1}
\setcounter{afterword}{0}
\setcounter{savedafterword}{0}
\setcounter{annotator}{0}
\setcounter{savedannotator}{0}
\setcounter{author}{0}
\setcounter{savedauthor}{0}
\setcounter{bookauthor}{0}
\setcounter{savedbookauthor}{0}
\setcounter{commentator}{0}
\setcounter{savedcommentator}{0}
\setcounter{editor}{0}
\setcounter{savededitor}{0}
\setcounter{editora}{0}
\setcounter{savededitora}{0}
\setcounter{editorb}{0}
\setcounter{savededitorb}{0}
\setcounter{editorc}{0}
\setcounter{savededitorc}{0}
\setcounter{foreword}{0}
\setcounter{savedforeword}{0}
\setcounter{holder}{0}
\setcounter{savedholder}{0}
\setcounter{introduction}{0}
\setcounter{savedintroduction}{0}
\setcounter{namea}{0}
\setcounter{savednamea}{0}
\setcounter{nameb}{0}
\setcounter{savednameb}{0}
\setcounter{namec}{0}
\setcounter{savednamec}{0}
\setcounter{translator}{0}
\setcounter{savedtranslator}{0}
\setcounter{shortauthor}{0}
\setcounter{savedshortauthor}{0}
\setcounter{shorteditor}{0}
\setcounter{savedshorteditor}{0}
\setcounter{labelname}{0}
\setcounter{savedlabelname}{0}
\setcounter{institution}{0}
\setcounter{savedinstitution}{0}
\setcounter{lista}{0}
\setcounter{savedlista}{0}
\setcounter{listb}{0}
\setcounter{savedlistb}{0}
\setcounter{listc}{0}
\setcounter{savedlistc}{0}
\setcounter{listd}{0}
\setcounter{savedlistd}{0}
\setcounter{liste}{0}
\setcounter{savedliste}{0}
\setcounter{listf}{0}
\setcounter{savedlistf}{0}
\setcounter{location}{0}
\setcounter{savedlocation}{0}
\setcounter{organization}{0}
\setcounter{savedorganization}{0}
\setcounter{origlocation}{0}
\setcounter{savedoriglocation}{0}
\setcounter{origpublisher}{0}
\setcounter{savedorigpublisher}{0}
\setcounter{publisher}{0}
\setcounter{savedpublisher}{0}
\setcounter{language}{0}
\setcounter{savedlanguage}{0}
\setcounter{origlanguage}{0}
\setcounter{savedoriglanguage}{0}
\setcounter{pageref}{0}
\setcounter{savedpageref}{0}
\setcounter{textcitecount}{0}
\setcounter{textcitetotal}{0}
\setcounter{textcitemaxnames}{0}
\setcounter{biburlbigbreakpenalty}{100}
\setcounter{biburlbreakpenalty}{200}
\setcounter{biburlnumpenalty}{0}
\setcounter{biburlucpenalty}{0}
\setcounter{biburllcpenalty}{0}
\setcounter{smartand}{1}
\setcounter{blx@gost@pointer}{0}
\setcounter{bbx:relatedcount}{0}
\setcounter{bbx:relatedtotal}{0}
\setcounter{cbx@tempcnta}{0}
\setcounter{cbx@tempcntb}{0}
\setcounter{cbx@tempcntc}{0}
\setcounter{cbx@tempcntd}{0}
\setcounter{Item}{0}
\setcounter{Hfootnote}{0}
\setcounter{Hy@AnnotLevel}{0}
\setcounter{bookmark@seq@number}{0}
\setcounter{lstnumber}{1}
\setcounter{FancyVerbLine}{0}
\setcounter{linenumber}{1}
\setcounter{LN@truepage}{0}
\setcounter{FV@TrueTabGroupLevel}{0}
\setcounter{FV@TrueTabCounter}{0}
\setcounter{FV@HighlightLinesStart}{0}
\setcounter{FV@HighlightLinesStop}{0}
\setcounter{FancyVerbLineBreakLast}{0}
\setcounter{float@type}{8}
\setcounter{minted@FancyVerbLineTemp}{0}
\setcounter{minted@pygmentizecounter}{0}
\setcounter{listing}{0}
}

32
Settings/listings.tex Normal file
View File

@ -0,0 +1,32 @@
\usepackage{listings} % библиотека листингов
\usepackage{color} % подсветка листинга
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\usepackage{minted}
\usepackage{bold-extra}
\lstset{
basicstyle=\footnotesize\ttfamily,
aboveskip=11pt,
belowskip=11pt,
language=python,
keywordstyle=\color{blue},
deletekeywords={local},
breaklines=true,
commentstyle=\color{teal},
breakatwhitespace=false,
showspaces=false,
showstringspaces=false,
escapeinside={(*}{*)},
mathescape=true
}
\usepackage{lstfiracode}
% Подписи к листингам на русском языке.
\renewcommand\lstlistingname{Листинг}
\renewcommand\lstlistlistingname{Листинги}

148
Settings/packages.aux Normal file
View File

@ -0,0 +1,148 @@
\relax
\@setckpt{Settings/packages}{
\setcounter{page}{1}
\setcounter{equation}{0}
\setcounter{enumi}{0}
\setcounter{enumii}{0}
\setcounter{enumiii}{0}
\setcounter{enumiv}{0}
\setcounter{footnote}{0}
\setcounter{mpfootnote}{0}
\setcounter{part}{0}
\setcounter{section}{0}
\setcounter{subsection}{0}
\setcounter{subsubsection}{0}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{AM@survey}{0}
\setcounter{max@tocdepth}{3}
\setcounter{max@secnumdepth}{3}
\setcounter{caption@flags}{0}
\setcounter{continuedfloat}{0}
\setcounter{rlistctr}{0}
\setcounter{parentequation}{0}
\setcounter{tabx@nest}{0}
\setcounter{listtotal}{0}
\setcounter{listcount}{0}
\setcounter{liststart}{0}
\setcounter{liststop}{0}
\setcounter{citecount}{0}
\setcounter{citetotal}{0}
\setcounter{multicitecount}{0}
\setcounter{multicitetotal}{0}
\setcounter{instcount}{0}
\setcounter{maxnames}{3}
\setcounter{minnames}{1}
\setcounter{maxitems}{3}
\setcounter{minitems}{1}
\setcounter{citecounter}{0}
\setcounter{maxcitecounter}{0}
\setcounter{savedcitecounter}{0}
\setcounter{uniquelist}{0}
\setcounter{uniquename}{0}
\setcounter{refsection}{0}
\setcounter{refsegment}{0}
\setcounter{maxextratitle}{0}
\setcounter{maxextratitleyear}{0}
\setcounter{maxextraname}{0}
\setcounter{maxextradate}{0}
\setcounter{maxextraalpha}{0}
\setcounter{abbrvpenalty}{50}
\setcounter{highnamepenalty}{50}
\setcounter{lownamepenalty}{25}
\setcounter{maxparens}{3}
\setcounter{parenlevel}{0}
\setcounter{mincomprange}{10}
\setcounter{maxcomprange}{100000}
\setcounter{mincompwidth}{1}
\setcounter{afterword}{0}
\setcounter{savedafterword}{0}
\setcounter{annotator}{0}
\setcounter{savedannotator}{0}
\setcounter{author}{0}
\setcounter{savedauthor}{0}
\setcounter{bookauthor}{0}
\setcounter{savedbookauthor}{0}
\setcounter{commentator}{0}
\setcounter{savedcommentator}{0}
\setcounter{editor}{0}
\setcounter{savededitor}{0}
\setcounter{editora}{0}
\setcounter{savededitora}{0}
\setcounter{editorb}{0}
\setcounter{savededitorb}{0}
\setcounter{editorc}{0}
\setcounter{savededitorc}{0}
\setcounter{foreword}{0}
\setcounter{savedforeword}{0}
\setcounter{holder}{0}
\setcounter{savedholder}{0}
\setcounter{introduction}{0}
\setcounter{savedintroduction}{0}
\setcounter{namea}{0}
\setcounter{savednamea}{0}
\setcounter{nameb}{0}
\setcounter{savednameb}{0}
\setcounter{namec}{0}
\setcounter{savednamec}{0}
\setcounter{translator}{0}
\setcounter{savedtranslator}{0}
\setcounter{shortauthor}{0}
\setcounter{savedshortauthor}{0}
\setcounter{shorteditor}{0}
\setcounter{savedshorteditor}{0}
\setcounter{labelname}{0}
\setcounter{savedlabelname}{0}
\setcounter{institution}{0}
\setcounter{savedinstitution}{0}
\setcounter{lista}{0}
\setcounter{savedlista}{0}
\setcounter{listb}{0}
\setcounter{savedlistb}{0}
\setcounter{listc}{0}
\setcounter{savedlistc}{0}
\setcounter{listd}{0}
\setcounter{savedlistd}{0}
\setcounter{liste}{0}
\setcounter{savedliste}{0}
\setcounter{listf}{0}
\setcounter{savedlistf}{0}
\setcounter{location}{0}
\setcounter{savedlocation}{0}
\setcounter{organization}{0}
\setcounter{savedorganization}{0}
\setcounter{origlocation}{0}
\setcounter{savedoriglocation}{0}
\setcounter{origpublisher}{0}
\setcounter{savedorigpublisher}{0}
\setcounter{publisher}{0}
\setcounter{savedpublisher}{0}
\setcounter{language}{0}
\setcounter{savedlanguage}{0}
\setcounter{origlanguage}{0}
\setcounter{savedoriglanguage}{0}
\setcounter{pageref}{0}
\setcounter{savedpageref}{0}
\setcounter{textcitecount}{0}
\setcounter{textcitetotal}{0}
\setcounter{textcitemaxnames}{0}
\setcounter{biburlbigbreakpenalty}{100}
\setcounter{biburlbreakpenalty}{200}
\setcounter{biburlnumpenalty}{0}
\setcounter{biburlucpenalty}{0}
\setcounter{biburllcpenalty}{0}
\setcounter{smartand}{1}
\setcounter{blx@gost@pointer}{0}
\setcounter{bbx:relatedcount}{0}
\setcounter{bbx:relatedtotal}{0}
\setcounter{cbx@tempcnta}{0}
\setcounter{cbx@tempcntb}{0}
\setcounter{cbx@tempcntc}{0}
\setcounter{cbx@tempcntd}{0}
\setcounter{Item}{0}
\setcounter{Hfootnote}{0}
\setcounter{Hy@AnnotLevel}{0}
\setcounter{bookmark@seq@number}{0}
}

56
Settings/packages.tex Normal file
View File

@ -0,0 +1,56 @@
\usepackage{polyglossia} % языковой пакет
\usepackage{pdfpages} % пакет для импорта pdf-файлов
\usepackage{tocvsec2} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[labelsep=period]{caption}
\usepackage{titletoc}
% установка точек в оглавлении
\usepackage{misccorr}
\usepackage{graphicx} % пакет для использования графики (чтобы вставлять рисунки, фотографии и пр.)
\usepackage{amsmath} % поддержка математических символов
\usepackage{url} % поддержка url-ссылок
\usepackage{lipsum}
\bibliographystyle{gost-numeric.bbx}
\usepackage[parentracker=true,
backend=biber,
hyperref=true,
bibencoding=utf8,
style=numeric-comp,
language=auto,
autolang=other,
citestyle=gost-numeric,
defernumbers=true,
bibstyle=gost-numeric,
sorting=none
]{biblatex}
\addbibresource{refs.bib}
\usepackage{fancyhdr} % заголовок
\usepackage{enumitem} % списки
\usepackage{multirow} % таблицы с объединенными строками
\usepackage{hyperref} % пакет для интеграции гиперссылок
\usepackage{indentfirst} % пакет для отступа абзаца
\usepackage{chngcntr} % пакет подписей и нумерации рисунков
\usepackage{setspace}
\usepackage{csquotes}
\usepackage{tabularx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Binary file not shown.

Binary file not shown.

42
annex.tex Normal file
View File

@ -0,0 +1,42 @@
\section*{Приложение 1} \label{application1}
\addcontentsline{toc}{section}{Приложение 1}
\pagestyle{empty}
\setcounter{figure}{0}
Программный код алгоритма ...
\begin{lstlisting}
# Optimized Python program for implementation of Bubble Sort
def bubbleSort(arr):
n = len(arr)
# Traverse through all array elements
for i in range(n):
swapped = False
# Last i elements are already in place
for j in range(0, n-i-1):
# Traverse the array from 0 to n-i-1
# Swap if the element found is greater
# than the next element
if arr[j] > arr[j+1]:
arr[j], arr[j+1] = arr[j+1], arr[j]
swapped = True
if (swapped == False):
break
# Driver code to test above
if __name__ == "__main__":
arr = [64, 34, 25, 12, 22, 11, 90]
bubbleSort(arr)
print("Sorted array:")
for i in range(len(arr)):
print("%d" % arr[i], end=" ")
# This code is modified by Suraj krushna Yadav
\end{lstlisting}

4
bibpage.tex Normal file
View File

@ -0,0 +1,4 @@
\thispagestyle{plain}
\printbibliography[title={Список литературы}]
\addcontentsline{toc}{section}{Список литературы}
\thispagestyle{plain}

106
content.tex Normal file
View File

@ -0,0 +1,106 @@
\section*{Введение}
\addcontentsline{toc}{section}{Введение}
\thispagestyle{plain}
В современном мире наблюдается стремительное развитие программных решений, представленных на рынке баз данных.
\newpage
\section{Текст главы 1}
\thispagestyle{plain}
Соотношение сложности представления обрабатываемых данных и алгоритма вычислений определяет два крайних случая выполняемых с помощью компьютера задач:
\begin{itemize}[noitemsep,nolistsep]
\item \textit{текст 1} текст 2;
\item \textbf{текст 1} текст 2.
\end{itemize}
Согласно~\cite{gost33707}, \textit{база данных} (БД) \textemdash~совокупность данных, хранимых в соответствии со схемой данных, манипулирование которыми выполняют в соответствии с правилами средств моделирования данных.
\subsection{Подраздел}
Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст
Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст
Некоторый текст Некоторый текст
Пример нумерованного списка:
\begin{enumerate}[label=\arabic*., noitemsep,nolistsep]
\item 123123;
\item 23141234;
\item 241243;
\end{enumerate}
Пример вставки кода:
\begin{lstlisting}
# Driver code to test above
if __name__ == "__main__":
arr = [64, 34, 25, 12, 22, 11, 90]
bubbleSort(arr)
print("Sorted array:")
for i in range(len(arr)):
print("%d" % arr[i], end=" ")
\end{lstlisting}
Пример вставки картинки на Рис. \ref{fig:imageCat}.
\image{Images/cat.png}{Первая картинка}{fig:imageCat}{0.5}
Пример вставки другой картинки на Рис. \ref{fig:imageDog}.
\image{Images/dog.png}{Вторая картинка}{fig:imageDog}{0.6}
Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст
Некоторый текст Некоторый текст \cite{codd}
\section{Текст главы 2}
Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст
Некоторый текст Некоторый текст \cite{statistadata}
\begin{table}[!htb]
\fontsize{11pt}{13pt}\selectfont
\centering
\smallskip
\begin{tabularx}{\linewidth}{|c|X|X|}
\hline
\multirow{1}{*}{ \textbf{Команда} } & \hfil \multirow{1}{*}{ \textbf{Описание} } & \hfil \multirow{1}{*}{ \textbf{Пример} } \\
\hline
SET & \textit{установка значения ключа} & SET somekey "my string" \\
\hline
MSETNX & \textit{установка значений для нескольких ключей} & MSETNX somekey "my string" test:anykey "my string" \\
\hline
GET & \textit{получение значения для ключа} & GET somekey \\
\hline
MGET & \textit{получение значений нескольких ключей} & MGET somekey1 somekey2 \\
\hline
GETSET & \textit{получение и обновление значения ключа } & GETSET somekey "value" \\
\hline
RENAME & \textit{переименование ключа } & RENAME somekey anotherkey \\
\hline
TYPE & \textit{вывод типа данных для ключа} & TYPE somekey \\
\hline
KEYS & \textit{получение всех ключей по маске (*)} & KEYS somekey* \\
\hline
DELKEY & \textit{удаление значения для ключа} & DEL somekey \\
\hline
EXISTS & \textit{проверка существования значения по ключу} & EXISTS somekey \\
\hline
EXPIRE & \textit{удаление ключа по прошествии некоторого времени (в секундах)} & EXPIRE somekey 15 \\
\hline
TTL & \textit{вывод числа секунд до удаления значения по ключу } & TTL somekey \\
\hline
\end{tabularx}
\label{table:redis-base-commands}
\end{table}
\newpage
\section*{Заключение}
\addcontentsline{toc}{section}{Заключение}
Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст Некоторый текст

1
fonts/.uuid Normal file
View File

@ -0,0 +1 @@
bc2bcfb1-1f29-4b56-b40f-8bccfe45e4c7

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

28
macros.tex Normal file
View File

@ -0,0 +1,28 @@
% Список пользовательских команд
%%%%%%%%%%%% \image %%%%%%%%%%%%%%%%%%
% \image {Имя изображения.расширение}{Подпись к рисунку}{label}{Скейл Изображения}
\newcommand{\image}[4]{
\begin{figure}[!htb]
\centering
\includegraphics[width=#4\textwidth]{#1}
\caption{#2}
\label{#3}
\end{figure}
}
% \image {Имя изображения.расширение}{label}{Скейл Изображения}
\newcommand{\imagend}[3]{
\begin{figure}[!htb]
\centering
\includegraphics[width=#3\textwidth]{#1}
\label{fig:#3}
\end{figure}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

75
main.tex Normal file
View File

@ -0,0 +1,75 @@
% Шаблон для курсовой/диплома/отчета
% Сделано Stulk3
% Помогал ValeryVerkhoturov
% https://github.com/Stulk3/Latex-Template-for-Report-Diploma-Thesis
\documentclass[14pt, a4paper]{extarticle}
%%%%%%%%%%%% Пакеты %%%%%%%%%%%%%%%%%%
\include{Settings/packages}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Формат %%%%%%%%%%%%%%%%%%
\include{Settings/format}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Ширина левого поля должна равняться 3 сантиметра, а правое 1 сантиметра. Верхнее и нижнее должны равняться 2 сантиметра.
\usepackage[left=2.5cm,right=2.5cm,top=2cm,bottom=2cm,twoside]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} % поля
%%%%%%%%%%%% Листинги %%%%%%%%%%%%%%%%%%
\include{Settings/listings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Начало документа %%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%% Макрокоманды %%%%%%%%%%%%%
\include{macros}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Титульный лист %%%%%%%%%%%%%%
\includepdf[pages=-]{TitlePages/Титульный_лист_КР.pdf}
\includepdf[pages=-]{TitlePages/Задание_на_КР.pdf}
% Если нужно вставить свой титульный лист, то загрузите его в формате .pdf и переименуйте на titlepage, он вставится в начало документа
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Содержание %%%%%%%%%%%%%%%%%%
\include{tocpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Основной документ %%%%%%%%%%%%%%
\include{content}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Туториал %%%%%%%%%%%%%%
%\include{tutorial}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Источники %%%%%%%%%%%%%%%%%%
\include{bibpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Приложения %%%%%%%%%%%%%%%%%%
\include{annex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Крайний лист %%%%%%%%%%%%%%%%%%
% \includepdf[pages=-]{TitlePages/1.pdf}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

29
refs.bib Normal file
View File

@ -0,0 +1,29 @@
@REFERENCE{gost33707,
title = {Информационные технологии. Словарь. Information technologies. Vocabulary},
media = {text},
subtitle = { ГОСТ 33707-2016 (ISO/IEC 2382:2015)},
specdata = {Введен впервые},
location = {М.},
publisher = {Стандартинформ},
year = {2017},
pagetotal = {210},
series = {Межгосударственный стандарт},
langid = {russian},
}
@article{codd,
title={A relational model of data for large shared data banks},
author={E. F. Codd},
journal={Communications of the ACM},
volume={13},
issue={6},
year={1970},
pages={377--387},
%publisher={Oxford University Press}
}
@misc{statistadata,
title={Volume of data/information created, captured, copied, and consumed worldwide from 2010 to 2020, with forecasts from 2021 to 2025. Statista company.},
howpublished="\url{https://www.statista.com/statistics/871513/worldwide-data-created/} (дата обращения: 15.01.2024)"
}

5
tocpage.tex Normal file
View File

@ -0,0 +1,5 @@
\newpage
\begin{center}
\tableofcontents
\end{center}
\newpage