Skip to content

Commit

Permalink
Initial project based on the old one
Browse files Browse the repository at this point in the history
  • Loading branch information
vpodaruev committed Feb 2, 2024
1 parent 2916015 commit 727ad5f
Show file tree
Hide file tree
Showing 26 changed files with 1,843 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*.aux
/*.fdb_latexmk
/*.log
/*.fls
/*.out
/*.run.xml
/*.toc
/*.bbl
/*.bcf
/*.blg
/*.synctex.gz
/*.pytxcode
_minted-*/
pythontex-files-*/
tasks/

*.pdf
!images/*.pdf
55 changes: 55 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
## config file
MKRC ?= latexmkrc

## source *.tex file
SOURCE ?= seminars

## LaTeX compiler output *.pdf file
TARGET ?= $(SOURCE)

## LaTeX version
BACKEND ?= -lualatex

## -synctex=1 -- synchronization file between source and PDF for IDE
## -shell-escape -- required for minted and pythontex packages
LATEXFLAGS ?= -synctex=1 -shell-escape -halt-on-error -file-line-error

BIBERFLAGS ?= # --fixinits

TIMERON ?= # show CPU usage

LATEXMKFLAGS ?= -silent

## Makefile options
MAKEFLAGS := -s
.DEFAULT_GOAL := all
.NOTPARALLEL:


export LATEXFLAGS
export BIBERFLAGS
export TIMERON


all:
latexmk -norc -r $(MKRC) $(LATEXMKFLAGS) $(BACKEND) -latexoption="$(LATEXFLAGS)" -jobname=$(TARGET) $(SOURCE)


clean:
latexmk -norc -r $(MKRC) -f $(LATEXMKFLAGS) $(BACKEND) -jobname=$(TARGET) -c $(SOURCE)

cleanall: clean
rm -f $(SOURCE).synctex.gz
rm -rf __pycache__

distclean:
latexmk -norc -r $(MKRC) -f $(LATEXMKFLAGS) $(BACKEND) -jobname=$(TARGET) -C $(SOURCE)
rm -rf __pycache__


force: all
force: LATEXMKFLAGS := $(LATEXMKFLAGS) -g
force:


.PHONY: all clean cleanall distclean force
12 changes: 12 additions & 0 deletions appendix.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
% !TEX encoding = UTF8
% !TEX spellcheck = ru_RU
% !TEX root = seminars.tex

%%==================
\chapter{Приложение}
%%==================
%%===========================================
\section{Установка и настройка рабочей среды}\label{sect:workEnv}
%%===========================================

\todo{Добавить материал}
19 changes: 19 additions & 0 deletions common/biblatex.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
% !TEX encoding = UTF8
% !TEX spellcheck = en_EN

\usepackage{csquotes}
\usepackage[backend=biber,%
bibencoding=utf8,%
citestyle=gost-inline-min,%gost-numeric,%
bibstyle=gost-numeric,%
sorting=none,%
defernumbers=true,%
sortcites=true,%
doi=false,%
isbn=false,%
autolang=langname]{biblatex}


\DeclareFieldFormat{url}{
\mkbibacro{URL}\addcolon\space\href{#1}{\nolinkurl{\thefield{urlraw}}}
}
8 changes: 8 additions & 0 deletions common/contents.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
% !TEX encoding = UTF8
% !TEX spellcheck = en_US

\clearpage

\ifdefmacro{\microtypesetup}{\microtypesetup{protrusion=false}}{}
\tableofcontents*
\ifdefmacro{\microtypesetup}{\microtypesetup{protrusion=true}}{}
67 changes: 67 additions & 0 deletions common/packages.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
% !TEX encoding = UTF8
% !TEX spellcheck = en_US


%%% Page layout %%%
\usepackage{pdflscape}
\usepackage{geometry}

%%% Mathematics %%%
\usepackage{amsthm,amsfonts,amsmath,amscd}
\usepackage{mathtools} % Add environment 'multlined'
\usepackage{dsfont}
\usepackage{unicode-math}

%%% Encodings and fonts %%%
\usepackage{polyglossia}[2014/05/21] % Automatically load 'fontspec'

%%% Paragraph layout %%%
\usepackage{indentfirst}
\usepackage{epigraph}
\usepackage[style=french]{csquotes}

%%% Colors %%%
\usepackage[svgnames,table,hyperref]{xcolor} %,cmyk

%%% Tables %%%
\usepackage{longtable,ltcaption}
\usepackage{multirow,makecell} % Advanced formatting
\usepackage{tabu,tabulary} % Automatic columns width
\usepackage{array}
\usepackage{hhline}
\usepackage{multicol}

%%% General layout %%%
\usepackage{soulutf8} % Underlying with hyphenation
\usepackage{icomma}
\usepackage{calc}
\usepackage[normalem]{ulem}

%%% Hyper references %%%
\usepackage{hyperref}

%%% Figures %%%
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,calc}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{shapes,shapes.misc}
\usetikzlibrary{graphs, graphdrawing}
\usegdlibrary{trees, layered}
\usepackage{wrapfig}

%%% Lists %%%
\usepackage[inline]{enumitem}

%%% Embedded languages %%%
\usepackage[usefamily={py,sympy},rerun=always]{pythontex}

%%% Listings %%%
\usepackage{verbatim}
\usepackage{minted}
\usepackage{listings}
\lccode`\~=0\relax % Fix \MakeLowercase etc. with (xe|lua)latex

%%% Smart references %%%
%\usepackage{cleveref}

15 changes: 15 additions & 0 deletions common/references.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
% !TEX encoding = UTF8
% !TEX spellcheck = en_US

\clearpage

%\hypersetup{ urlcolor=black }

%\providecommand*{\BibDash}{}
\urlstyle{rm}
\ifdefmacro{\microtypesetup}{\microtypesetup{protrusion=false}}{}
\printbibliography[heading=bibintoc]
\ifdefmacro{\microtypesetup}{\microtypesetup{protrusion=true}}{}
\urlstyle{tt}

%\hypersetup{ urlcolor={urlcolor} }
24 changes: 24 additions & 0 deletions common/setup.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
% !TEX encoding = UTF8
% !TEX spellcheck = en_US


%%% Hyper references colors %%%

\definecolor{linkcolor}{rgb}{0.9,0,0}
\definecolor{citecolor}{rgb}{0,0.6,0}
\definecolor{urlcolor}{rgb}{0,0,1}



%%% Define names %%%

\newcommand*\paperOrganization{\todo{Organization}}
\newcommand*\paperOrganizationShort{\todo{OShort}}
\newcommand*\paperDepartment{\todo{Department}}
\newcommand*\paperDepartmentShort{\todo{DShort}}
\newcommand*\paperTitle{\todo{Title}}
\newcommand*\paperSubject{\todo{Subject}}
\newcommand*\paperAuthor{\todo{\textcopyright{}perto}}
\newcommand*\paperKeywords{\todo{Keywords}}
\newcommand*\paperDate{\todo{Date}}
\newcommand*\paperYear{\todo{Year}}
Loading

0 comments on commit 727ad5f

Please sign in to comment.