Ian Jauslin
summaryrefslogtreecommitdiff
blob: c02485a0e8f3c89bf7be60bd7dd38052990f5cdb (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
\documentclass{standalone}

\usepackage{tikz}
\usepackage{shapes}

\begin{document}
\begin{tikzpicture}
\clip(-1.01,-1.01)--(7.01,-1.01)--(7.01,5.01)--(-1.01,5.01)--cycle;
\foreach \i in {0,...,3}{
  \ttsquare{teal}{(2*\i,0)}
  \ttsquare{teal}{(2*\i+1,2)}
  \ttsquare{teal}{(2*\i,4)}
}
\ttsquare{teal}{(-1,2)}

\grid86{[color=red, dashed](-1,-1)}

\foreach \i in {0,...,3}{
  \ttsquareempty{(2*\i,0)}
  \ttsquareempty{(2*\i+1,2)}
  \ttsquareempty{(2*\i,4)}
}
\ttsquareempty{(-1,2)}
\end{tikzpicture}
\end{document}