-
Notifications
You must be signed in to change notification settings - Fork 12
[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
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
df84abe
Remove all
WoWaster f02a696
Add VS Code settings
WoWaster e83df65
Init new version of main file
WoWaster 376c0ea
Add list of contributors
WoWaster 50f0255
Add introduction chapter
WoWaster d5058cb
Add -shell-escape to latexmk arguments
WoWaster 5568b45
Minor fixes in introduction & basic TikZ setup
WoWaster 1af1bb9
Enable microtype and specify font size
WoWaster ec9130b
Fix .bib file
WoWaster 4bc4b6d
Add Linear Algebra chapter
WoWaster 9c3f42d
Add main.pdf to .gitignore
WoWaster 7af50a5
Update CI script
WoWaster ba1af0c
Install fonts in CI
WoWaster feeb696
Enable shell escape
WoWaster f2d767f
Keep tex/figures/exteralized directory
WoWaster f3389a7
Fixes in Linear Algebra
WoWaster 3059826
Redo algorithm in Linear Algebra
WoWaster f0ebe4e
Add Graph Theory Intro chapter
WoWaster 9f26332
Add Formal Language Theory Intro chapter
WoWaster ac29ebe
Add Regular Languages chapter
WoWaster b340a7e
Add CFL chapter
WoWaster c72abd2
Restore all chapters to tree
WoWaster 2b7663c
Restore name of the main file
WoWaster d0bab18
Add Makefile
WoWaster f5c2557
Add caching of pictures in CI
WoWaster 4ddcece
Comment more incomplete parts
WoWaster c559ddd
Name TikZ externalized PDFs according to chapter
WoWaster 7568b0a
Add FLPQ chapter
WoWaster ac7a8fb
Fix order of loading packages
WoWaster File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add Linear Algebra chapter
Also ton of styling and reformating
- Loading branch information
There are no files selected for viewing
815 changes: 815 additions & 0 deletions
tex/LinearAlgebra.tex
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
tex/styles/language.tex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.