initial commit
This commit is contained in:
commit
34a8b9e25c
16 changed files with 289 additions and 0 deletions
13
.ci/build_document.sh
Executable file
13
.ci/build_document.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
set -e
|
||||||
|
echo "Building document"
|
||||||
|
make pdf
|
||||||
|
mkdir public
|
||||||
|
mv build/2023_Game_Theory_in_Flow_Problems.pdf public
|
||||||
|
mv build/2023_Game_Theory_in_Flow_Problems.log public
|
||||||
|
cd public/
|
||||||
|
if ! command -v tree &> /dev/null
|
||||||
|
then
|
||||||
|
echo "No tree utility found, skipping making tree"
|
||||||
|
else
|
||||||
|
tree -H '.' -I "index.html" -D --charset utf-8 -T "Optimization and Game Theory in Flow Problems" > index.html
|
||||||
|
fi
|
31
.ci/git-info-2.sh
Executable file
31
.ci/git-info-2.sh
Executable file
|
@ -0,0 +1,31 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Copyright 2015 Brent Longborough
|
||||||
|
# Part of gitinfo2 package Version 2
|
||||||
|
# Release 2.0.7 2015-11-22
|
||||||
|
# Please read gitinfo2.pdf for licencing and other details
|
||||||
|
# -----------------------------------------------------
|
||||||
|
# Post-{commit,checkout,merge} hook for the gitinfo2 package
|
||||||
|
#
|
||||||
|
# Get the first tag found in the history from the current HEAD
|
||||||
|
FIRSTTAG=$(git describe --tags --always --dirty='-*' 2>/dev/null)
|
||||||
|
# Get the first tag in history that looks like a Release
|
||||||
|
RELTAG=$(git describe --tags --long --always --dirty='-*' --match '[0-9]*.*' 2>/dev/null)
|
||||||
|
# Hoover up the metadata
|
||||||
|
git -c log.showSignature=false --no-pager log -1 --date=short --decorate=short \
|
||||||
|
--pretty=format:"\usepackage[%
|
||||||
|
shash={%h},
|
||||||
|
lhash={%H},
|
||||||
|
authname={%an},
|
||||||
|
authemail={%ae},
|
||||||
|
authsdate={%ad},
|
||||||
|
authidate={%ai},
|
||||||
|
authudate={%at},
|
||||||
|
commname={%cn},
|
||||||
|
commemail={%ce},
|
||||||
|
commsdate={%cd},
|
||||||
|
commidate={%ci},
|
||||||
|
commudate={%ct},
|
||||||
|
refnames={%d},
|
||||||
|
firsttagdescribe={$FIRSTTAG},
|
||||||
|
reltag={$RELTAG}
|
||||||
|
]{gitexinfo}" HEAD > .git/gitHeadInfo.gin
|
56
.gitignore
vendored
Normal file
56
.gitignore
vendored
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
## Core latex/pdflatex auxiliary files:
|
||||||
|
*.aux
|
||||||
|
*.lof
|
||||||
|
*.log
|
||||||
|
*.lot
|
||||||
|
*.fls
|
||||||
|
*.out
|
||||||
|
*.toc
|
||||||
|
*.fmt
|
||||||
|
*.fot
|
||||||
|
*.cb
|
||||||
|
*.cb2
|
||||||
|
*.loe
|
||||||
|
|
||||||
|
## Intermediate documents:
|
||||||
|
*.dvi
|
||||||
|
*-converted-to.*
|
||||||
|
|
||||||
|
## Bibliography auxiliary files (bibtex/biblatex/biber):
|
||||||
|
*.bbl
|
||||||
|
*.bcf
|
||||||
|
*.blg
|
||||||
|
*-blx.aux
|
||||||
|
*-blx.bib
|
||||||
|
*.brf
|
||||||
|
*.run.xml
|
||||||
|
*.latexmain
|
||||||
|
|
||||||
|
## Build tool auxiliary files:
|
||||||
|
*.fdb_latexmk
|
||||||
|
*.synctex
|
||||||
|
*.synctex.gz
|
||||||
|
*.synctex.gz(busy)
|
||||||
|
*.pdfsync
|
||||||
|
*.tdo
|
||||||
|
|
||||||
|
##swap files
|
||||||
|
*.swp
|
||||||
|
*.synctex(busy)
|
||||||
|
|
||||||
|
##other help files
|
||||||
|
*.idx
|
||||||
|
*.ilg
|
||||||
|
*.ind
|
||||||
|
*.lec
|
||||||
|
*.cnt
|
||||||
|
|
||||||
|
### main pdf file
|
||||||
|
.pdf
|
||||||
|
|
||||||
|
## build directory
|
||||||
|
build/
|
||||||
|
|
||||||
|
## makefiles locks
|
||||||
|
.init-submodule-cert
|
||||||
|
.init-git-hooks-cert
|
34
.gitlab-ci.yml
Normal file
34
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- pages
|
||||||
|
|
||||||
|
default:
|
||||||
|
tags:
|
||||||
|
- latex
|
||||||
|
|
||||||
|
build-document:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- .ci/build_document.sh
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public/
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- branches
|
||||||
|
# - merge_requests
|
||||||
|
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: pages
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public/
|
||||||
|
script:
|
||||||
|
- echo "Deploying to pages"
|
||||||
|
- test -f public/2023_Game_Theory_in_Flow_Problems.pdf
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- main
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "LatexPackagesBuild"]
|
||||||
|
path = LatexPackagesBuild
|
||||||
|
url = https://gitlab.com/latexci/packages/LatexPackagesBuild.git
|
3
.latexmkrc
Normal file
3
.latexmkrc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ensure_path('TEXINPUTS', './LatexPackagesBuild//'); # set texinputs to find custom packages
|
||||||
|
$pdf_mode = 1; # generate a pdf file by default
|
||||||
|
$out_dir = 'build';
|
37
2023_Game_Theory_in_Flow_Problems.tex
Normal file
37
2023_Game_Theory_in_Flow_Problems.tex
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
\documentclass[10pt, english, a4paper, fancyfoot, git]{mkessler-script}
|
||||||
|
|
||||||
|
\course{Optimization and Game Theory in Flow Problems}
|
||||||
|
\lecturer{Laura Vargas Koch}
|
||||||
|
\assistant{}
|
||||||
|
\author{}
|
||||||
|
|
||||||
|
\usepackage{gametheory}
|
||||||
|
\setuptodonotes{disable}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
\vfill
|
||||||
|
\doclicenseThis
|
||||||
|
Visit the
|
||||||
|
\href{https://gitlab.com/latexci/lecture-notes-bonn/game-theory-in-flow-problems}{GitLab page}
|
||||||
|
for the source code of this document.
|
||||||
|
|
||||||
|
\cleardoublepage
|
||||||
|
\tableofcontents
|
||||||
|
|
||||||
|
\cleardoublepage
|
||||||
|
\listoflecture
|
||||||
|
|
||||||
|
\cleardoublepage
|
||||||
|
|
||||||
|
% \start lectures
|
||||||
|
% end lectures
|
||||||
|
|
||||||
|
\appendix
|
||||||
|
|
||||||
|
\cleardoublepage
|
||||||
|
\printbibliography
|
||||||
|
|
||||||
|
|
||||||
|
\end{document}
|
1
LatexPackagesBuild
Submodule
1
LatexPackagesBuild
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 400daf229ce74e741aeec00f073230c6e64ee3f8
|
31
Makefile
Normal file
31
Makefile
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
pdf: init
|
||||||
|
latexmk -halt-on-error < /dev/null
|
||||||
|
|
||||||
|
clean:
|
||||||
|
latexmk -c
|
||||||
|
|
||||||
|
clean-all:
|
||||||
|
latexmk -C
|
||||||
|
rm -rf build/
|
||||||
|
|
||||||
|
## Stuff to set up repository after cloning
|
||||||
|
|
||||||
|
init: .init-submodule-cert .init-git-hooks-cert
|
||||||
|
|
||||||
|
.init-submodule-cert:
|
||||||
|
@echo "[Make] Initialising git submodule for packages"
|
||||||
|
git submodule update --init --rebase
|
||||||
|
@touch .init-submodule-cert
|
||||||
|
|
||||||
|
# Sets up git hooks for gitinfo2 package
|
||||||
|
.init-git-hooks-cert:
|
||||||
|
@echo "[Make] Setting up git hooks for package gitinfo2"
|
||||||
|
@mkdir -p .git/hooks
|
||||||
|
@cp .ci/git-info-2.sh .git/hooks/post-merge
|
||||||
|
@cp .ci/git-info-2.sh .git/hooks/post-checkout
|
||||||
|
@cp .ci/git-info-2.sh .git/hooks/post-commit
|
||||||
|
@.ci/git-info-2.sh
|
||||||
|
@touch .init-git-hooks-cert
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: pdf, clean, clean-all
|
11
README.md
Normal file
11
README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Optimization and Game Theory in Flow Problems
|
||||||
|
|
||||||
|
These are the lecture notes for the 'Optimization and Game Theory in Flow Problems', taught in winter rem 23/24 at the University of Bonn.
|
||||||
|
|
||||||
|
The [latest version][1] is availabe as a pdf download via GitLab runner.
|
||||||
|
You can also have a look at the generated [log files][2] or visit the
|
||||||
|
[gl pages][3] index directly.
|
||||||
|
|
||||||
|
[1]: https://latexci.gitlab.com/lecture-notes-bonn/game-theory-in-flow-problems/2023_Game_Theory_in_Flow_Problems.pdf
|
||||||
|
[2]: https://latexci.gitlab.com/lecture-notes-bonn/game-theory-in-flow-problems/2023_Game_Theory_in_Flow_Problems.log
|
||||||
|
[3]: https://latexci.gitlab.com/lecture-notes-bonn/game-theory-in-flow-problems/
|
0
bibliography/images.bib
Normal file
0
bibliography/images.bib
Normal file
0
bibliography/references.bib
Normal file
0
bibliography/references.bib
Normal file
1
export_texinputs.sh
Executable file
1
export_texinputs.sh
Executable file
|
@ -0,0 +1 @@
|
||||||
|
export TEXINPUTS=LatexPackagesBuild//:
|
45
gametheory.sty
Normal file
45
gametheory.sty
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
\ProvidesPackage{gametheory}[2022/02/10 - Style file for notes of Optimization and Game Theory in Flow Problems]
|
||||||
|
|
||||||
|
%%% Custom packages from https://gitlab.com/latexci/packages/latex-packages
|
||||||
|
% see the corresponding documentation there for details
|
||||||
|
|
||||||
|
% Basic math package including lots of utility definitions and operators
|
||||||
|
\usepackage{mkessler-math}
|
||||||
|
|
||||||
|
% Fancy theorem environments
|
||||||
|
\usepackage[number in = section]{fancythm}
|
||||||
|
|
||||||
|
% Set up of different types of todonotes
|
||||||
|
\usepackage{mkessler-todo}
|
||||||
|
|
||||||
|
% Set up hyperref and useful colors
|
||||||
|
\usepackage{mkessler-hypersetup}
|
||||||
|
|
||||||
|
% \vocab command to highlight + index definitions
|
||||||
|
\usepackage[index]{mkessler-vocab}
|
||||||
|
|
||||||
|
% \lecture command for margin notes indicating the current lecture
|
||||||
|
% as well as summary of lectures in table of content
|
||||||
|
\usepackage[fancyhead]{mkessler-lectures}
|
||||||
|
|
||||||
|
% Inclusion of inkscape figures in Gilles Castel style
|
||||||
|
\usepackage{mkessler-incfig}
|
||||||
|
|
||||||
|
% Dumping of theorem counters to aux file, to be parsed and compile parts of the document
|
||||||
|
\usepackage{mkessler-counters}
|
||||||
|
|
||||||
|
% Custom enumeration options in {enumerate} environment
|
||||||
|
\usepackage{mkessler-enumerate}
|
||||||
|
|
||||||
|
|
||||||
|
%%% General useful packages
|
||||||
|
\usepackage{csquotes}
|
||||||
|
\usepackage{import}
|
||||||
|
|
||||||
|
\usepackage[bibfile=bibliography/references.bib]{mkessler-bibliography}
|
||||||
|
|
||||||
|
\usepackage[
|
||||||
|
type={CC},
|
||||||
|
modifier={by-sa},
|
||||||
|
version={4.0},
|
||||||
|
]{doclicense}
|
0
inputs/.gitkeep
Normal file
0
inputs/.gitkeep
Normal file
23
master.tex
Normal file
23
master.tex
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
\documentclass[10pt, english, a4paper, fancyfoot, git]{mkessler-script}
|
||||||
|
|
||||||
|
\course{Optimization and Game Theory in Flow Problems}
|
||||||
|
\lecturer{Laura Vargas Koch}
|
||||||
|
\assistant{}
|
||||||
|
\author{}
|
||||||
|
|
||||||
|
\usepackage{gametheory}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\cleardoublepage
|
||||||
|
\tableofcontents
|
||||||
|
|
||||||
|
\cleardoublepage
|
||||||
|
|
||||||
|
% \start lectures
|
||||||
|
% end lectures
|
||||||
|
|
||||||
|
|
||||||
|
\end{document}
|
Loading…
Reference in a new issue