Compare commits
7 Commits
c9e1bcc5ea
...
tut1-v1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 67a7f7acb9 | |||
| f47c7ce19b | |||
| e492024cf7 | |||
| a71b85c808 | |||
| 1c042a7626 | |||
| eb077ca793 | |||
| 884d6a65ae |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1 +1,5 @@
|
||||
build/
|
||||
|
||||
src/*/.latexmkrc
|
||||
src/*/lib
|
||||
src/*/src
|
||||
|
||||
@@ -6,6 +6,7 @@ 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,11 +1,21 @@
|
||||
all:
|
||||
mkdir -p build/build
|
||||
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
||||
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
||||
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/template/presentation.tex
|
||||
mv build/presentation.pdf build/presentation_template.pdf
|
||||
.PHONY: all
|
||||
all: $(PRESENTATIONS) $(HANDOUTS)
|
||||
|
||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/2025-11-07/presentation.tex
|
||||
mv build/presentation.pdf build/presentation_2025-11-07.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
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
|
||||
18
README.md
Normal file
18
README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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,4 +1,8 @@
|
||||
\ifdefined\ishandout
|
||||
\documentclass[de, handout]{CELbeamer}
|
||||
\else
|
||||
\documentclass[de]{CELbeamer}
|
||||
\fi
|
||||
|
||||
%
|
||||
%
|
||||
@@ -140,17 +144,19 @@
|
||||
\vspace*{0mm}
|
||||
\end{columns}\pause
|
||||
\item Laplace'sches Zufallsexperiment
|
||||
% tex-fmt: off
|
||||
\begin{gather*}
|
||||
\text{Voraussetzungen: }\hspace{5mm} \left\{
|
||||
\begin{array}{l}
|
||||
\lvert\Omega\rvert \text{ endlich}\\
|
||||
P(\omega_i) = \frac{1}{\lvert\Omega\rvert}
|
||||
\end{array}
|
||||
\right.\\[1em]
|
||||
P(A) = \frac{\lvert A \rvert}{\lvert \Omega \rvert} =
|
||||
\frac{\text{Anzahl ``günstiger''
|
||||
Möglichkeiten}}{\text{Anzahl Möglichkeiten}}
|
||||
\end{gather*}
|
||||
\begin{array}{l}
|
||||
\lvert\Omega\rvert \text{ endlich}\\
|
||||
P(\omega_i) = \frac{1}{\lvert\Omega\rvert}
|
||||
\end{array}
|
||||
\right.\\[1em]
|
||||
P(A) = \frac{\lvert A \rvert}{\lvert \Omega \rvert} =
|
||||
\frac{\text{Anzahl ``günstiger''
|
||||
Möglichkeiten}}{\text{Anzahl Möglichkeiten}}
|
||||
\end{gather*}
|
||||
% tex-fmt: on
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
@@ -320,7 +326,8 @@
|
||||
\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}
|
||||
@@ -515,10 +522,4 @@
|
||||
% tex-fmt: on
|
||||
\end{frame}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Zusammenfassung}
|
||||
|
||||
% TODO: Do we even want this section?
|
||||
|
||||
\end{document}
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
\documentclass[de]{CELbeamer}
|
||||
\ifdefined\ishandout
|
||||
\documentclass[de, handout]{CELbeamer}
|
||||
\else
|
||||
\documentclass[de]{CELbeamer}
|
||||
\fi
|
||||
|
||||
%
|
||||
%
|
||||
|
||||
Reference in New Issue
Block a user