% % shift.tex -- template for standalon tikz images % % (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\s{1} \def\punkt#1#2{({#1*\s},{#2*\s})} \draw \punkt{0}{0} rectangle \punkt{8}{4}; \foreach \x in {1,...,7}{ \draw \punkt{\x}{0} -- \punkt{\x}{4}; } \foreach \y in {1,...,3}{ \draw \punkt{0}{\y} -- \punkt{8}{\y}; } \end{tikzpicture} \end{document}