diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2022-08-18 05:29:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 05:29:26 +0200 |
commit | 9dd93f5e38f38a79c16a893a657c43f3f1bfa6e7 (patch) | |
tree | 0e4d6de769f1dceba2cda26d0b80d5fea58af5ee /buch/papers/kreismembran | |
parent | Merge pull request #59 from f1bi1n/master (diff) | |
parent | Tim ist kein Zeichner (diff) | |
download | SeminarSpezielleFunktionen-9dd93f5e38f38a79c16a893a657c43f3f1bfa6e7.tar.gz SeminarSpezielleFunktionen-9dd93f5e38f38a79c16a893a657c43f3f1bfa6e7.zip |
Merge pull request #60 from NaoPross/tim
kreismembran: TikZ (Tim ist kein Zeichner)
Diffstat (limited to '')
-rw-r--r-- | buch/papers/kreismembran/Makefile | 4 | ||||
-rw-r--r-- | buch/papers/kreismembran/images/TikzSaite.pdf | bin | 0 -> 17625 bytes | |||
-rw-r--r-- | buch/papers/kreismembran/images/TikzSaite.tex | 57 | ||||
-rw-r--r-- | buch/papers/kreismembran/teil0.tex | 3 |
4 files changed, 61 insertions, 3 deletions
diff --git a/buch/papers/kreismembran/Makefile b/buch/papers/kreismembran/Makefile index ce3c89f..a13f2cf 100644 --- a/buch/papers/kreismembran/Makefile +++ b/buch/papers/kreismembran/Makefile @@ -4,6 +4,6 @@ # (c) 2020 Prof Dr Andreas Mueller # -images: - @echo "no images to be created in kreismembran" +images/TikzSaite.pdf: images/TikzSaite.tex + cd images && pdflatex TikzSaite.tex diff --git a/buch/papers/kreismembran/images/TikzSaite.pdf b/buch/papers/kreismembran/images/TikzSaite.pdf Binary files differnew file mode 100644 index 0000000..f95ceb9 --- /dev/null +++ b/buch/papers/kreismembran/images/TikzSaite.pdf diff --git a/buch/papers/kreismembran/images/TikzSaite.tex b/buch/papers/kreismembran/images/TikzSaite.tex new file mode 100644 index 0000000..bf3d8f6 --- /dev/null +++ b/buch/papers/kreismembran/images/TikzSaite.tex @@ -0,0 +1,57 @@ +% vim: ts=2 sw=2 et : +\documentclass[tikz, border=2mm]{standalone} + +\usepackage{times} +\usepackage{txfonts} + +\begin{document} + \begin{tikzpicture}[ + axis/.style = {very thick, -latex}, + axis tick/.style = { + draw, draw = black, fill = black, rectangle, + inner sep = 0pt, + minimum height = 2mm, + minimum width = 1pt, + }, + string/.style = { + ultra thick, draw = black, + }, + string end/.style = { + string, circle, fill = gray, + inner sep = 0pt, minimum size = 1mm, + }, + force/.style = { + very thick, draw = gray, -latex, + }, + ] + + % axes + \draw[axis] (0, 0) -- (8cm, 0) node[right] {$x$}; + \draw[axis] (0, 0) -- (0, 5cm) node[above] {$u(x, t)$}; + + % axes ticks + \node[axis tick, label = {-90:$x_0$}] at (2cm, 0) {}; + \node[axis tick, label = {-90:$x_0 + dx$}] at (6cm, 0) {}; + + % string + \coordinate (A) at (2cm, 2cm); + \coordinate (B) at (6cm, 4cm); + + \draw[string] (A) to[out = 40, in = 200] (B); + + \draw[force] (A) -- ++(220:15mm) node[gray, below right] {$T_1$}; + \draw[force] (B) -- ++(20:15mm) node[gray, above left] {$T_2$}; + + \draw[dashed, gray, thick] (A) -- ++(-15mm, 0); + \draw[gray, thick] (A) ++ (-7mm,0) arc (180:220:7mm) + node[midway, left] {$\alpha$}; + + \draw[dashed, gray, thick] (B) -- ++(15mm, 0); + \draw[gray, thick] (B) ++ (7mm,0) arc (0:20:7mm) + node[pos = 0, below] {$\beta$}; + + \node[string end, label={110:$P_1$}] at (A) {}; + \node[string end, label={110:$P_2$}] at (B) {}; + + \end{tikzpicture} +\end{document} diff --git a/buch/papers/kreismembran/teil0.tex b/buch/papers/kreismembran/teil0.tex index 27c6f0f..e962aab 100644 --- a/buch/papers/kreismembran/teil0.tex +++ b/buch/papers/kreismembran/teil0.tex @@ -42,7 +42,8 @@ Die Verbindung zwischen Membran und Saite ist intuitiv ersichtlich, stellt man s \begin{figure} \begin{center} - \includegraphics[width=5cm,angle=-90]{papers/kreismembran/images/Saite.pdf} + % \includegraphics[width=5cm,angle=-90]{papers/kreismembran/images/Saite.pdf} + \includegraphics[]{papers/kreismembran/images/TikzSaite.pdf} \caption{Infinitesimales Stück einer Saite} \label{kreismembran:im:Saite} \end{center} |