aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/90-crypto/images/shift.tex
blob: 5cfdd92af6ec5b74e0466623b0603a5f980a4e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%
% 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}