Compare commits
7 Commits
tut1-v1.1
...
8dba126e60
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dba126e60 | |||
| 1a2987e922 | |||
| 179e9442c8 | |||
| d898c48619 | |||
| 91cf66a544 | |||
| 34769737b0 | |||
| 51718e4749 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,5 +1 @@
|
||||
build/
|
||||
|
||||
src/*/.latexmkrc
|
||||
src/*/lib
|
||||
src/*/src
|
||||
|
||||
@@ -6,7 +6,6 @@ RUN apt update -y && apt upgrade -y
|
||||
RUN apt install make texlive latexmk texlive-pictures -y
|
||||
RUN apt install texlive-publishers texlive-science texlive-fonts-extra texlive-latex-extra -y
|
||||
RUN apt install biber texlive-bibtex-extra -y
|
||||
RUN apt install texlive-lang-german -y
|
||||
|
||||
RUN apt install python3 python3-pygments -y
|
||||
|
||||
|
||||
24
Makefile
24
Makefile
@@ -1,21 +1,11 @@
|
||||
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
||||
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
||||
all:
|
||||
mkdir -p build/build
|
||||
|
||||
.PHONY: all
|
||||
all: $(PRESENTATIONS) $(HANDOUTS)
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/template/presentation.tex
|
||||
mv build/presentation.pdf build/presentation_template.pdf
|
||||
|
||||
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
||||
mv build/presentation.pdf $@
|
||||
|
||||
build/presentation_%_handout.pdf: src/%/presentation.tex build/prepared
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk -pdflatex='pdflatex %O "\def\ishandout{1}\input{%S}"' $<
|
||||
mv build/presentation.pdf $@
|
||||
|
||||
build/prepared:
|
||||
mkdir -p build
|
||||
touch build/prepared
|
||||
|
||||
.PHONY: clean
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/2025-11-07/presentation.tex
|
||||
mv build/presentation.pdf build/presentation_2025-11-07.pdf
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
|
||||
18
README.md
18
README.md
@@ -1,18 +0,0 @@
|
||||
# WT Tutorial Presentations
|
||||
|
||||
This repository contains the latex source files for the WT Tutorial slides.
|
||||
|
||||
## Build
|
||||
|
||||
### Local Environment
|
||||
|
||||
```bash
|
||||
$ make
|
||||
```
|
||||
|
||||
### With Docker
|
||||
|
||||
```bash
|
||||
$ docker build . -t wt-tut
|
||||
$ docker run --rm -u `id -u`:`id -g` -w $PWD -v $PWD:$PWD wt-tut make
|
||||
```
|
||||
@@ -1,8 +1,4 @@
|
||||
\ifdefined\ishandout
|
||||
\documentclass[de, handout]{CELbeamer}
|
||||
\else
|
||||
\documentclass[de]{CELbeamer}
|
||||
\fi
|
||||
|
||||
%
|
||||
%
|
||||
@@ -144,7 +140,6 @@
|
||||
\vspace*{0mm}
|
||||
\end{columns}\pause
|
||||
\item Laplace'sches Zufallsexperiment
|
||||
% tex-fmt: off
|
||||
\begin{gather*}
|
||||
\text{Voraussetzungen: }\hspace{5mm} \left\{
|
||||
\begin{array}{l}
|
||||
@@ -156,7 +151,6 @@
|
||||
\frac{\text{Anzahl ``günstiger''
|
||||
Möglichkeiten}}{\text{Anzahl Möglichkeiten}}
|
||||
\end{gather*}
|
||||
% tex-fmt: on
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
@@ -326,8 +320,7 @@
|
||||
\mleft\{ A \mright\}, \mleft\{ B \mright\},
|
||||
\mleft\{ C \mright\}, \mleft\{ A, B \mright\},\\
|
||||
&\mleft\{ A, C \mright\},
|
||||
\mleft\{ B, C \mright\}, \mleft\{ A, B, C
|
||||
\mright\} \}
|
||||
\mleft\{ B, C \mright\}, \mleft\{ A, B, C \mright\} \}
|
||||
\end{align*}%
|
||||
\vspace*{-14mm}%
|
||||
\end{lightgrayhighlightbox}
|
||||
@@ -522,4 +515,10 @@
|
||||
% tex-fmt: on
|
||||
\end{frame}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Zusammenfassung}
|
||||
|
||||
% TODO: Do we even want this section?
|
||||
|
||||
\end{document}
|
||||
|
||||
|
||||
3
src/template/.latexmkrc
Normal file
3
src/template/.latexmkrc
Normal file
@@ -0,0 +1,3 @@
|
||||
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S -cd ./../..";
|
||||
$out_dir = "build";
|
||||
$pdf_mode = 1;
|
||||
1
src/template/lib
Symbolic link
1
src/template/lib
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/andreas/Documents/kit/wt-tut/presentations/lib
|
||||
@@ -1,8 +1,4 @@
|
||||
\ifdefined\ishandout
|
||||
\documentclass[de, handout]{CELbeamer}
|
||||
\else
|
||||
\documentclass[de]{CELbeamer}
|
||||
\fi
|
||||
\documentclass[de]{CELbeamer}
|
||||
|
||||
%
|
||||
%
|
||||
|
||||
1
src/template/src
Symbolic link
1
src/template/src
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/andreas/Documents/kit/wt-tut/presentations/src
|
||||
Reference in New Issue
Block a user