r500/diagrams/c4_32_fp.tex
2025-11-13 10:56:28 -06:00

33 lines
904 B
TeX

\documentclass{standalone}
\usepackage{tikz}
\usepackage[dvipsnames]{xcolor}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw[ultra thick] (0,0) rectangle (32,-1.2);
\foreach \j in {1,...,3} {
\draw[ultra thick] (\j * 8,0) -- (\j * 8,-1.2);
}
\foreach \j in {0,...,3} {
\foreach \i in {1,...,31} {
\draw[very thick] (\i / 4 + \j * 8,0) -- (\i / 4 + \j * 8,-0.15);
}
\foreach \i in {1,...,3} {
\draw[ultra thick] (\i * 8 / 4 + \j * 8,0) -- (\i * 8 / 4 + \j * 8,-0.25);
}
}
\foreach \j in {0,...,3} {
\node[font=\huge\bfseries] at (8 * \j + 4.0,-0.7) {C\pgfmathparse{int(3 - \j)}\pgfmathresult};
\node[font=\large\bfseries] at (8 * \j + 7.9,0.25) {\pgfmathparse{int((3 - \j) * 32)}\pgfmathresult};
}
\node[font=\large\bfseries] at (8 * 0 + 0.0,0.25) {\pgfmathparse{int((4 - 0) * 32)}\pgfmathresult};
\end{tikzpicture}
\end{document}