diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2021-09-28 14:27:37 +0200 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2021-09-28 14:27:37 +0200 |
commit | 1a8e870f8f4c7e9d402ab7b867699ed999fec7dc (patch) | |
tree | 153f3c8d24c580db8c19ffc30d5879bd50705536 /vorlesungen | |
parent | analogie-Abschnitt (diff) | |
download | SeminarSpezielleFunktionen-1a8e870f8f4c7e9d402ab7b867699ed999fec7dc.tar.gz SeminarSpezielleFunktionen-1a8e870f8f4c7e9d402ab7b867699ed999fec7dc.zip |
slide infrastructure for MathSem
Diffstat (limited to 'vorlesungen')
-rw-r--r-- | vorlesungen/00_template/Makefile | 33 | ||||
-rw-r--r-- | vorlesungen/00_template/common.tex | 16 | ||||
-rw-r--r-- | vorlesungen/00_template/handout.tex | 11 | ||||
-rw-r--r-- | vorlesungen/00_template/mathman2.png | bin | 0 -> 46259 bytes | |||
-rw-r--r-- | vorlesungen/00_template/presentation.tex | 14 | ||||
-rw-r--r-- | vorlesungen/00_template/slides.tex | 6 | ||||
-rw-r--r-- | vorlesungen/common/README | 28 | ||||
-rw-r--r-- | vorlesungen/common/common.tex | 9 | ||||
-rw-r--r-- | vorlesungen/common/packages.tex | 33 | ||||
-rw-r--r-- | vorlesungen/common/presentation-template.tex | 49 | ||||
-rw-r--r-- | vorlesungen/common/slide-template.tex | 19 | ||||
-rw-r--r-- | vorlesungen/setup | 35 | ||||
-rw-r--r-- | vorlesungen/stream/background.png | bin | 0 -> 33587 bytes | |||
-rw-r--r-- | vorlesungen/stream/background2.png | bin | 0 -> 46601 bytes | |||
-rw-r--r-- | vorlesungen/stream/countdown.html | 40 | ||||
-rw-r--r-- | vorlesungen/stream/ende.html | 30 | ||||
-rw-r--r-- | vorlesungen/stream/thumbnail.jpg | bin | 0 -> 182814 bytes |
17 files changed, 323 insertions, 0 deletions
diff --git a/vorlesungen/00_template/Makefile b/vorlesungen/00_template/Makefile new file mode 100644 index 0000000..14c254d --- /dev/null +++ b/vorlesungen/00_template/Makefile @@ -0,0 +1,33 @@ +# +# Makefile -- xxx +# +# (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil +# +all: xxx-handout.pdf MathSem-yyy-xxx.pdf + +include ../slides/Makefile.inc + +SOURCES = common.tex slides.tex $(slides) + +MathSem-yyy-xxx.pdf: MathSem-yyy-xxx.tex $(SOURCES) + pdflatex MathSem-yyy-xxx.tex + +xxx-handout.pdf: xxx-handout.tex $(SOURCES) + pdflatex xxx-handout.tex + +thumbnail: thumbnail.jpg # fix1.jpg + +thumbnail.pdf: MathSem-yyy-xxx.pdf + pdfjam --outfile thumbnail.pdf --papersize '{16cm,9cm}' \ + MathSem-yyy-xxx.pdf 1 +thumbnail.jpg: thumbnail.pdf + convert -density 300 thumbnail.pdf \ + -resize 1920x1080 -units PixelsPerInch thumbnail.jpg + +fix1.pdf: MathSem-yyy-xxx.pdf + pdfjam --outfile fix1.pdf --papersize '{16cm,9cm}' \ + MathSem-yyy-xxx.pdf 1 +fix1.jpg: fix1.pdf + convert -density 300 fix1.pdf \ + -resize 1920x1080 -units PixelsPerInch fix1.jpg + diff --git a/vorlesungen/00_template/common.tex b/vorlesungen/00_template/common.tex new file mode 100644 index 0000000..0700acf --- /dev/null +++ b/vorlesungen/00_template/common.tex @@ -0,0 +1,16 @@ +% +% common.tex -- gemeinsame definition +% +% (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil +% +\input{../common/packages.tex} +\input{../common/common.tex} +\mode<beamer>{% +\usetheme[hideothersubsections,hidetitle]{Hannover} +} +\beamertemplatenavigationsymbolsempty +\title[Titel]{Titel} +\author[A.~Müller]{Prof. Dr. Andreas Müller} +\date[]{} +\newboolean{presentation} + diff --git a/vorlesungen/00_template/handout.tex b/vorlesungen/00_template/handout.tex new file mode 100644 index 0000000..6a98c94 --- /dev/null +++ b/vorlesungen/00_template/handout.tex @@ -0,0 +1,11 @@ +% +% xxx-handout.tex -- Handout XXX +% +% (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil +% +\documentclass[handout,aspectratio=169]{beamer} +\input{common.tex} +\setboolean{presentation}{false} +\begin{document} +\input{slides.tex} +\end{document} diff --git a/vorlesungen/00_template/mathman2.png b/vorlesungen/00_template/mathman2.png Binary files differnew file mode 100644 index 0000000..70b2059 --- /dev/null +++ b/vorlesungen/00_template/mathman2.png diff --git a/vorlesungen/00_template/presentation.tex b/vorlesungen/00_template/presentation.tex new file mode 100644 index 0000000..599bed2 --- /dev/null +++ b/vorlesungen/00_template/presentation.tex @@ -0,0 +1,14 @@ +% +% MathSem-yyy-xxx.tex -- Präsentation +% +% (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil +% +\documentclass[aspectratio=169]{beamer} +\input{common.tex} +\setboolean{presentation}{true} +\begin{document} +\begin{frame} +\titlepage +\end{frame} +\input{slides.tex} +\end{document} diff --git a/vorlesungen/00_template/slides.tex b/vorlesungen/00_template/slides.tex new file mode 100644 index 0000000..5678823 --- /dev/null +++ b/vorlesungen/00_template/slides.tex @@ -0,0 +1,6 @@ +% +% slides.tex -- XXX +% +% (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil +% + diff --git a/vorlesungen/common/README b/vorlesungen/common/README new file mode 100644 index 0000000..1ed40aa --- /dev/null +++ b/vorlesungen/common/README @@ -0,0 +1,28 @@ +Die beiden Files + + presentation-template.tex + slide-template.tex + +können als Basis für die eigene Präsentation verwendet werden. +Dazu geht man wie folgt vor: + +1. In einem Arbeitsverzeichnis eine Kopie von presentation-template.tex +anlegen und im file Author und Titel anpassen. Im Folgenden wird diese +Kopie als beispiel-praesentation.tex bezeichnet. + +2. Für jede Folie der Präsentation im Arbeitsverzeichnis eine Kopie von +slide-template.tex anlegen und den Inhalt anpassen. + +3. Die Slides mit Hilfe von Input-Befehlen, die in presentation-template.tex +eingetragen werden, in die Präsentation importieren. + +4. Die Präsentation mit dem Befehl + + pdflatex beispiel-praesentation.tex + +erzeugen, es entsteht das File beispile-praesentation.pdf + +Diese Vorgehen erlaubt, die Reihenfolge der Folien während der Vorbereitung +zu ändern oder zwecks Beschleunigung des pdflatex-Laufs während der +Entwicklung auszukommentieren. + diff --git a/vorlesungen/common/common.tex b/vorlesungen/common/common.tex new file mode 100644 index 0000000..901b4fd --- /dev/null +++ b/vorlesungen/common/common.tex @@ -0,0 +1,9 @@ +% +% common.tex +% +% (c) 2019 Prof Dr Andreas Müller, Hochschule Rapperswil +% +\newcommand{\folie}[1]{ +\input{../slides/#1} +} + diff --git a/vorlesungen/common/packages.tex b/vorlesungen/common/packages.tex new file mode 100644 index 0000000..7e044ed --- /dev/null +++ b/vorlesungen/common/packages.tex @@ -0,0 +1,33 @@ +% +% packages.tex -- gemeinsame definition +% +% (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil +% +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{epic} +\usepackage{color} +\usepackage{array} +\usepackage{ifthen} +\usepackage{lmodern} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{nccmath} +\usepackage{mathtools} +\usepackage{adjustbox} +\usepackage{multimedia} +\usepackage{verbatim} +\usepackage{wasysym} +\usepackage{stmaryrd} +\usepackage{tikz} +\usetikzlibrary{shapes.geometric} +\usetikzlibrary{decorations.pathreplacing} +\usetikzlibrary{calc} +\usetikzlibrary{arrows} +\usetikzlibrary{3d} +\usetikzlibrary{arrows,shapes,math,decorations.text,automata} +\usepackage{pifont} +\usepackage[all]{xy} +\usepackage[many]{tcolorbox} +\input{../../common/linsys.tex} + diff --git a/vorlesungen/common/presentation-template.tex b/vorlesungen/common/presentation-template.tex new file mode 100644 index 0000000..9f92489 --- /dev/null +++ b/vorlesungen/common/presentation-template.tex @@ -0,0 +1,49 @@ +% +% presentation-template.tex -- Präsentation +% +% (c) 2021 Prof Dr Andreas Müller, Hochschule Rapperswil +% +\documentclass[aspectratio=169]{beamer} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{epic} +\usepackage{color} +\usepackage{array} +\usepackage{ifthen} +\usepackage{lmodern} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{mathtools} +\usepackage{adjustbox} +\usepackage{multimedia} +\usepackage{verbatim} +\usepackage{wasysym} +\usepackage{stmaryrd} +\usepackage{tikz} +\usetikzlibrary{shapes.geometric} +\usetikzlibrary{decorations.pathreplacing} +\usetikzlibrary{calc} +\usetikzlibrary{arrows} +\usetikzlibrary{3d} +\usetikzlibrary{arrows,shapes,math,decorations.text,automata} +\usepackage{pifont} +\usepackage[all]{xy} +\usepackage[many]{tcolorbox} +\mode<beamer>{% +\usetheme[hideothersubsections,hidetitle]{Hannover} +} +\beamertemplatenavigationsymbolsempty +\title[Titel]{Titel} +\author[A. Uthor]{A. Uthor} +\date[]{} +\newboolean{presentation} +\setboolean{presentation}{true} +\begin{document} + +\begin{frame} +\titlepage +\end{frame} + +%\input{slide.tex} + +\end{document} diff --git a/vorlesungen/common/slide-template.tex b/vorlesungen/common/slide-template.tex new file mode 100644 index 0000000..a1343f8 --- /dev/null +++ b/vorlesungen/common/slide-template.tex @@ -0,0 +1,19 @@ +% +% template.tex -- slide template +% +% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +% +\bgroup +\begin{frame}[t] +\setlength{\abovedisplayskip}{5pt} +\setlength{\belowdisplayskip}{5pt} +\frametitle{Template} +\vspace{-20pt} +\begin{columns}[t,onlytextwidth] +\begin{column}{0.48\textwidth} +\end{column} +\begin{column}{0.48\textwidth} +\end{column} +\end{columns} +\end{frame} +\egroup diff --git a/vorlesungen/setup b/vorlesungen/setup new file mode 100644 index 0000000..a6f5539 --- /dev/null +++ b/vorlesungen/setup @@ -0,0 +1,35 @@ +#! /bin/bash +# +# setup -- prepare a new topic +# +if [ $# -lt 2 ] +then + echo "not enough arguments" + echo "usage: setup number topic" + echo "Files will be in <number>_<topic>, <topic>-handout, MathSem-<number>-<topic>.tex" + exit 1 +fi + +topic=${2} +number=`printf %02d ${1}` +directory=${number}_${topic} + +if [ -d ${directory} ] +then + echo ${directory} already exists + exit 1 +fi + +mkdir ${directory} + +cp 00_template/common.tex ${directory} +cp 00_template/slides.tex ${directory} + +sed -e "s/xxx/${topic}/g" -e "s/yyy/${number}/g" 00_template/Makefile \ + > ${directory}/Makefile +sed -e "s/xxx/${topic}/g" -e "s/yyy/${number}/g" 00_template/handout.tex \ + > ${directory}/${topic}-handout.tex +sed -e "s/xxx/${topic}/g" -e "s/yyy/${number}/g" 00_template/presentation.tex \ + > ${directory}/MathSem-${number}-${topic}.tex + + diff --git a/vorlesungen/stream/background.png b/vorlesungen/stream/background.png Binary files differnew file mode 100644 index 0000000..6cd215d --- /dev/null +++ b/vorlesungen/stream/background.png diff --git a/vorlesungen/stream/background2.png b/vorlesungen/stream/background2.png Binary files differnew file mode 100644 index 0000000..43f8484 --- /dev/null +++ b/vorlesungen/stream/background2.png diff --git a/vorlesungen/stream/countdown.html b/vorlesungen/stream/countdown.html new file mode 100644 index 0000000..12f99ac --- /dev/null +++ b/vorlesungen/stream/countdown.html @@ -0,0 +1,40 @@ +<!DOCTYPE HTML> +<html> +<head> +<style> +p { +text-align: center; +font-size: 60px; +} +div { +font-family: "Courier"; +text-align: center; +font-size: 60px; +color: #990000; +} +</style> +</head> +<body> +<div id="demo"></div> +<script> +var deadline = new Date("May 17, 2021 17:00:00").getTime(); +var x = setInterval(function() { +var now = new Date().getTime(); +var t = deadline - now; +if (t > 0) { + var days = Math.floor(t / (1000 * 60 * 60 * 24)); + var hours = Math.floor((t%(1000 * 60 * 60 * 24))/(1000 * 60 * 60)); + var minutes = Math.floor((t % (1000 * 60 * 60)) / (1000 * 60)); + var seconds = Math.floor((t % (1000 * 60)) / 1000); + document.getElementById("demo").innerHTML + = ("00" + minutes).slice(-2) + ":" + ("00" + seconds).slice(-2); +} else { + document.getElementById("demo").innerHTML = "00:00"; +} +}, 1000); + +</script> + +</body> +</html> + diff --git a/vorlesungen/stream/ende.html b/vorlesungen/stream/ende.html new file mode 100644 index 0000000..ee25dcf --- /dev/null +++ b/vorlesungen/stream/ende.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML> +<html> +<head> +<style> +p { +text-align: center; +font-size: 60px; +} +div { +font-family: "Courier"; +text-align: center; +font-size: 60px; +color: #990000; +} +</style> +</head> +<body> +<div id="demo"> +<p> +Vielen Dank für Ihren Besuch. +</p> +<div style="margin: 200px;"/> </div> +<p> +Fortsetzung der Seminar-Sitzung in +der BBB-Konferenz in Moodle. +</p> +</div> +</body> +</html> + diff --git a/vorlesungen/stream/thumbnail.jpg b/vorlesungen/stream/thumbnail.jpg Binary files differnew file mode 100644 index 0000000..9eef656 --- /dev/null +++ b/vorlesungen/stream/thumbnail.jpg |