Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] Редизайн книги #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
gsvgit merged 29 commits into FormalLanguageConstrainedPathQuerying:dev from WoWaster:rework
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
df84abe
Remove all
WoWaster Jun 8, 2024
f02a696
Add VS Code settings
WoWaster Jun 8, 2024
e83df65
Init new version of main file
WoWaster Jun 8, 2024
376c0ea
Add list of contributors
WoWaster Jun 8, 2024
50f0255
Add introduction chapter
WoWaster Jun 8, 2024
d5058cb
Add -shell-escape to latexmk arguments
WoWaster Jun 8, 2024
5568b45
Minor fixes in introduction & basic TikZ setup
WoWaster Jun 8, 2024
1af1bb9
Enable microtype and specify font size
WoWaster Jun 8, 2024
ec9130b
Fix .bib file
WoWaster Jun 9, 2024
4bc4b6d
Add Linear Algebra chapter
WoWaster Jun 12, 2024
9c3f42d
Add main.pdf to .gitignore
WoWaster Jun 12, 2024
7af50a5
Update CI script
WoWaster Jun 14, 2024
ba1af0c
Install fonts in CI
WoWaster Jun 14, 2024
feeb696
Enable shell escape
WoWaster Jun 14, 2024
f2d767f
Keep tex/figures/exteralized directory
WoWaster Jun 14, 2024
f3389a7
Fixes in Linear Algebra
WoWaster Jun 16, 2024
3059826
Redo algorithm in Linear Algebra
WoWaster Jun 16, 2024
f0ebe4e
Add Graph Theory Intro chapter
WoWaster Jun 16, 2024
9f26332
Add Formal Language Theory Intro chapter
WoWaster Jun 16, 2024
ac29ebe
Add Regular Languages chapter
WoWaster Jun 18, 2024
b340a7e
Add CFL chapter
WoWaster Jun 19, 2024
c72abd2
Restore all chapters to tree
WoWaster Jun 19, 2024
2b7663c
Restore name of the main file
WoWaster Jun 19, 2024
d0bab18
Add Makefile
WoWaster Jun 19, 2024
f5c2557
Add caching of pictures in CI
WoWaster Jun 19, 2024
4ddcece
Comment more incomplete parts
WoWaster Jun 19, 2024
c559ddd
Name TikZ externalized PDFs according to chapter
WoWaster Jun 19, 2024
7568b0a
Add FLPQ chapter
WoWaster Jun 19, 2024
ac7a8fb
Fix order of loading packages
WoWaster Jun 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Linear Algebra chapter
Also ton of styling and reformating
  • Loading branch information
WoWaster committed Jun 12, 2024
commit 4bc4b6dfb03904ac4b08aa18d9489d51bd8ed0b9
815 changes: 815 additions & 0 deletions tex/LinearAlgebra.tex
View file Open in desktop

Large diffs are not rendered by default.

17 changes: 12 additions & 5 deletions tex/main.tex
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@
\input{styles/language.tex}
\input{styles/utils.tex}
\input{styles/tikz.tex}
\input{styles/math.tex}
\input{styles/theorems.tex}

\usepackage{microtype}

\usepackage{kaobiblio}
\usepackage{kaobiblio} % Обертка для biblatex, позволяет печатать сноску сбоку
\addbibresource{FormalLanguageConstrainedReachabilityLectureNotes.bib}

\SetAlgorithmName{Листинг}{листинг}{Список листингов}

\tikzexternalize

\title{О достижимости с ограничениями в терминах формальных языков}
\author{Семён Григорьев}
\date{\today}
\date{\gitVer{}}

\begin{document}

Expand All @@ -30,10 +32,15 @@

\mainmatter
\setchapterstyle{kao}
\setchapterpreamble[u]{\margintoc}

\input{Introduction}

\pagelayout{wide} % No margins
\addpart{Необходимые вводные}
\pagelayout{margin} % Restore margins

\input{LinearAlgebra}

\backmatter
\setchapterstyle{plain}

Expand Down
3 changes: 3 additions & 0 deletions tex/styles/language.tex
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
\usepackage{polyglossia} % Локализация документа --- переносы и всё такое
\setmainlanguage{russian}
\setotherlanguage{english}

\usepackage[autostyle]{csquotes} % Правильные кавычки в зависимости от языка
\usepackage{microtype} % Полезные типографические ништячки
8 changes: 8 additions & 0 deletions tex/styles/math.tex
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\usepackage{amsmath, amsfonts, amssymb, amsthm, mathtools} % Advanced math tools.
\usepackage{nicematrix}

% \setmathfont[range={\doubleplus}, Scale=MatchLowercase]{Asana Math}

\NewDocumentCommand{\Z}{}{\mathbb{Z}}
\NewDocumentCommand{\bz}{}{\mathbb{0}} % Bold zero
\NewDocumentCommand{\bo}{}{\mathbb{1}} % Bold one
66 changes: 66 additions & 0 deletions tex/styles/theorems.tex
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@

\usepackage{thmtools}

%%% theorem-like envs
\theoremstyle{definition}

\declaretheoremstyle[spaceabove=0.5\topsep,
spacebelow=0.5\topsep,
headfont=\bfseries\sffamily,
bodyfont=\normalfont,
headpunct=.,
postheadspace=5pt plus 1pt minus 1pt]{myStyle}
\declaretheoremstyle[spacebelow=\topsep,
headfont=\bfseries\sffamily,
bodyfont=\normalfont,
headpunct=.,
postheadspace=5pt plus 1pt minus 1pt,]{myStyleWithFrame}
\declaretheoremstyle[spacebelow=\topsep,
headfont=\bfseries\sffamily,
bodyfont=\normalfont,
headpunct=.,
postheadspace=5pt plus 1pt minus 1pt,
qed=\blacksquare]{myProofStyleWithFrame}

\tcbuselibrary{breakable, skins}
\tcbset{shield externalize}
\tcbset{boxrule=0pt,
sharp corners,
borderline west={0.3mm}{0pt}{black},
frame hidden,
enhanced,
interior hidden,
left=2mm,
top = 1mm,
bottom = 1mm,
right = 0.5mm
}

% \tcolorboxenvironment{theorem}{}
% \tcolorboxenvironment{theorem*}{}
% \tcolorboxenvironment{axiom}{}
% \tcolorboxenvironment{assertion}{}
% \tcolorboxenvironment{lemma}{}
% \tcolorboxenvironment{proposition}{}
% \tcolorboxenvironment{corollary}{}
\tcolorboxenvironment{definition}{}
% \tcolorboxenvironment{proofReplace}{toprule=0mm,bottomrule=0mm,rightrule=0mm, colback=white, breakable }

% \declaretheorem[name=Теорема, numberwithin=chapter, style=myStyleWithFrame]{theorem}
% \declaretheorem[name=Теорема, numbered=no, style=myStyleWithFrame]{theorem*}
% \declaretheorem[name=Аксиома, sibling=theorem, style=myStyleWithFrame]{axiom}
% \declaretheorem[name=Преположение, sibling=theorem, style=myStyleWithFrame]{assertion}
% \declaretheorem[name=Лемма, sibling=theorem, style=myStyleWithFrame]{lemma}
% \declaretheorem[name=Предложение, sibling=theorem, style=myStyleWithFrame]{proposition}
% \declaretheorem[name=Следствие, numberwithin=theorem, style=myStyleWithFrame]{corollary}

\declaretheorem[name=Определение, numberwithin=chapter, style=myStyleWithFrame]{definition}
% \declaretheorem[name=Свойство, numberwithin=chapter, style=myStyle]{property}
% \declaretheorem[name=Свойства, numbered=no, style=myStyle]{propertylist}

\declaretheorem[name=Пример, numberwithin=chapter, style=myStyle]{example}
\declaretheorem[name=Замечание, numbered=no, style=myStyle]{remark}

% \declaretheorem[name=Доказательство, numbered=no, style=myProofStyleWithFrame]{proofReplace}
% \renewenvironment{proof}[1][\proofname]{\begin{proofReplace}}{\end{proofReplace}}
% \declaretheorem[name=Доказательство, numbered=no, style=myProofStyleWithFrame]{longProof}
2 changes: 2 additions & 0 deletions tex/styles/utils.tex
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
\usepackage{xurl} % Разрешить переносить URL на любой букве
\usepackage{booktabs}
\usepackage[noheader]{gitver}

\NewDocumentCommand{\email}{m}{\href{mailto:#1}{#1}} % Кликабельный email

AltStyle によって変換されたページ (->オリジナル) /