aboutsummaryrefslogtreecommitdiffstats
path: root/cover/matrix.tex
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-01-08 13:36:54 +0100
committerAndreas Müller <andreas.mueller@ost.ch>2021-01-08 13:36:54 +0100
commite5dec2d8164c7c8d53e5db824b50a481edf71ede (patch)
tree9d4661e338b16eec0d2a3521f219fd3c0b486ca1 /cover/matrix.tex
parentAbschnitt über den euklidischen Algorithmus hinzugefügt (diff)
downloadSeminarMatrizen-e5dec2d8164c7c8d53e5db824b50a481edf71ede.tar.gz
SeminarMatrizen-e5dec2d8164c7c8d53e5db824b50a481edf71ede.zip
zwei Aufgaben hinzugefüegt
Diffstat (limited to '')
-rw-r--r--cover/matrix.tex50
1 files changed, 50 insertions, 0 deletions
diff --git a/cover/matrix.tex b/cover/matrix.tex
new file mode 100644
index 0000000..338435b
--- /dev/null
+++ b/cover/matrix.tex
@@ -0,0 +1,50 @@
+%
+% matrix.tex -- Hintergrund für Bucheinband
+%
+% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+%
+\documentclass[tikz]{standalone}
+\usepackage{amsmath}
+\usepackage{times}
+\usepackage{txfonts}
+\usepackage{pgfplots}
+\usepackage{csvsimple}
+\usetikzlibrary{arrows,intersections,math}
+\begin{document}
+\def\skala{1}
+\begin{tikzpicture}[>=latex,thick,scale=\skala]
+
+\def\w{30}
+\def\h{10}
+\def\l{7}
+\def\s{0.155}
+\def\vs{0.245}
+
+\fill[color=blue] (0,{-0.3*\h}) rectangle (\w,{2*\h});
+
+\def\verticalline#1{
+ \pgfmathparse{int(random(0,\h/\vs))*\vs}
+ \xdef\initialheight{\pgfmathresult}
+ \foreach \y in {0,\vs,...,\l}{
+ \pgfmathparse{100*(1-(sqrt(\y/\l)))}
+ \xdef\farbe{\pgfmathresult}
+ \pgfmathparse{int(random(0,9))}
+ \xdef\zeichen{\pgfmathresult}
+ \node[color=white!\farbe!blue,opacity={(1-\y/\l)}]
+ %\node[color=white!\farbe!blue]
+ at (#1,{\initialheight+\y}) {\tt\zeichen};
+ }
+}
+
+\begin{scope}
+\clip (0,{-0.3*\h}) rectangle (\w,{2*\h});
+
+\foreach \x in {0,\s,...,\w}{
+ \verticalline{\x}
+}
+
+\end{scope}
+
+\end{tikzpicture}
+\end{document}
+