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/
|
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 make texlive latexmk texlive-pictures -y
|
||||||
RUN apt install texlive-publishers texlive-science texlive-fonts-extra texlive-latex-extra -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 biber texlive-bibtex-extra -y
|
||||||
RUN apt install texlive-lang-german -y
|
|
||||||
|
|
||||||
RUN apt install python3 python3-pygments -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))
|
all:
|
||||||
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
mkdir -p build/build
|
||||||
|
|
||||||
.PHONY: all
|
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/template/presentation.tex
|
||||||
all: $(PRESENTATIONS) $(HANDOUTS)
|
mv build/presentation.pdf build/presentation_template.pdf
|
||||||
|
|
||||||
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/2025-11-07/presentation.tex
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
mv build/presentation.pdf build/presentation_2025-11-07.pdf
|
||||||
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
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
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}
|
\documentclass[de]{CELbeamer}
|
||||||
\fi
|
|
||||||
|
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
@@ -144,7 +140,6 @@
|
|||||||
\vspace*{0mm}
|
\vspace*{0mm}
|
||||||
\end{columns}\pause
|
\end{columns}\pause
|
||||||
\item Laplace'sches Zufallsexperiment
|
\item Laplace'sches Zufallsexperiment
|
||||||
% tex-fmt: off
|
|
||||||
\begin{gather*}
|
\begin{gather*}
|
||||||
\text{Voraussetzungen: }\hspace{5mm} \left\{
|
\text{Voraussetzungen: }\hspace{5mm} \left\{
|
||||||
\begin{array}{l}
|
\begin{array}{l}
|
||||||
@@ -156,7 +151,6 @@
|
|||||||
\frac{\text{Anzahl ``günstiger''
|
\frac{\text{Anzahl ``günstiger''
|
||||||
Möglichkeiten}}{\text{Anzahl Möglichkeiten}}
|
Möglichkeiten}}{\text{Anzahl Möglichkeiten}}
|
||||||
\end{gather*}
|
\end{gather*}
|
||||||
% tex-fmt: on
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
@@ -326,8 +320,7 @@
|
|||||||
\mleft\{ A \mright\}, \mleft\{ B \mright\},
|
\mleft\{ A \mright\}, \mleft\{ B \mright\},
|
||||||
\mleft\{ C \mright\}, \mleft\{ A, B \mright\},\\
|
\mleft\{ C \mright\}, \mleft\{ A, B \mright\},\\
|
||||||
&\mleft\{ A, C \mright\},
|
&\mleft\{ A, C \mright\},
|
||||||
\mleft\{ B, C \mright\}, \mleft\{ A, B, C
|
\mleft\{ B, C \mright\}, \mleft\{ A, B, C \mright\} \}
|
||||||
\mright\} \}
|
|
||||||
\end{align*}%
|
\end{align*}%
|
||||||
\vspace*{-14mm}%
|
\vspace*{-14mm}%
|
||||||
\end{lightgrayhighlightbox}
|
\end{lightgrayhighlightbox}
|
||||||
@@ -522,4 +515,10 @@
|
|||||||
% tex-fmt: on
|
% tex-fmt: on
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\section{Zusammenfassung}
|
||||||
|
|
||||||
|
% TODO: Do we even want this section?
|
||||||
|
|
||||||
\end{document}
|
\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]{CELbeamer}
|
||||||
\documentclass[de, handout]{CELbeamer}
|
|
||||||
\else
|
|
||||||
\documentclass[de]{CELbeamer}
|
|
||||||
\fi
|
|
||||||
|
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
|||||||
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