aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common/3dimagetemplate.tex
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@hsr.ch>2020-12-03 17:18:03 +0100
committerAndreas Müller <andreas.mueller@hsr.ch>2020-12-03 17:18:03 +0100
commitac4b80be810fc615b426557ad86f0cb8092f5304 (patch)
tree2afe81a7f8a178fa479a91bec4cf61a54f8eae9f /buch/common/3dimagetemplate.tex
parentsome more ideas (diff)
downloadSeminarMatrizen-ac4b80be810fc615b426557ad86f0cb8092f5304.tar.gz
SeminarMatrizen-ac4b80be810fc615b426557ad86f0cb8092f5304.zip
add files
Diffstat (limited to 'buch/common/3dimagetemplate.tex')
-rw-r--r--buch/common/3dimagetemplate.tex37
1 files changed, 37 insertions, 0 deletions
diff --git a/buch/common/3dimagetemplate.tex b/buch/common/3dimagetemplate.tex
new file mode 100644
index 0000000..5706a42
--- /dev/null
+++ b/buch/common/3dimagetemplate.tex
@@ -0,0 +1,37 @@
+%
+% 3dimagetemplate.tex
+%
+% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+%
+\documentclass[tikz]{standalone}
+\usepackage{times}
+\usepackage{amsmath}
+\usepackage{txfonts}
+\usepackage[utf8]{inputenc}
+\usepackage{graphics}
+\usetikzlibrary{arrows,intersections,math}
+\usepackage{ifthen}
+\begin{document}
+
+\newboolean{showgrid}
+\setboolean{showgrid}{false}
+\def\breite{7}
+\def\hoehe{4}
+
+\begin{tikzpicture}[>=latex,thick]
+
+% Povray Bild
+\node at (0,0) {\includegraphics[width=14cm]{3dimage.jpg}};
+
+% Gitter
+\ifthenelse{\boolean{showgrid}}{
+\draw[step=0.1,line width=0.1pt] (-\breite,-\hoehe) grid (\breite, \hoehe);
+\draw[step=0.5,line width=0.4pt] (-\breite,-\hoehe) grid (\breite, \hoehe);
+\draw (-\breite,-\hoehe) grid (\breite, \hoehe);
+\fill (0,0) circle[radius=0.05];
+}{}
+
+\end{tikzpicture}
+
+\end{document}
+