summaryrefslogtreecommitdiff
path: root/tikz/attack/4att.tex
blob: 009b58a76c41a27bfed8b8f80835500ba11f797d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\begin{tikzpicture}

    \def \h{4}
    \def \s{1}

    \draw (0,0) rectangle (\h,\h);
    \node (a) at (1,1) {$id$};

    \draw (\h+\s,0) rectangle (2*\h+\s,\h);
    \node (a) at (1,1) {$1-id$};

    \draw (0,\h+\s) rectangle (\h,2*\h+\s);
    \node (a) at (1,1) {$0$};

    \draw (\h+\s,\h+\s) rectangle (2*\h+\s,2*\h+\s);
    \node (a) at (1,1) {$1$};


\end{tikzpicture}