(Though this picture has only 3 rows, it's part of the MWE. I may need to learn efficient ways to make, say, a 15-row version of this.)
The first issue I have is with row height and positioning of the contents of the table. This is what I have so far.
Code: Select all
\documentclass[12pt,letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{array}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{tikz}
\usepackage{graphicx}
\begin{document}
\begin{tabularx}{16cm}{|p{2.2cm}|p{2.5cm}|X|} \hline
\textbf{Parts Per Whole} & \textbf{Name of Each Part} & \textbf{Number Line} \\ \hline
3 & third &
\begin{tikzpicture}[xscale=4][yscale=10]
\draw (0,0)--(2,0) ; % x-axis
\foreach \x in {0,...,6} % vertical tick marks
\draw (\x/3,-0.3)--(\x/3,0.3); %
\foreach \x in {0,...,2} % whole numbers below
\node[below] at (\x,-0.35) {\x};
\end{tikzpicture} \\ \hline
& & \begin{tikzpicture}[xscale=3.5]
\draw (0,0)--(2.5,0) ;
\foreach \x in {0,...,10}
\draw (\x/4,-0.3)--(\x/4,0.3);
\foreach \x in {0,1,2}
\node[below] at (\x,-0.35) {\x};
\end{tikzpicture} \\ \hline
& & \begin{tikzpicture}[xscale=2.1]
\draw (0,0)--(4.2,0) ;
\foreach \x in {0,...,21}
\draw (\x/5,-0.3)--(\x/5,0.3);
\foreach \x in {0,...,4}
\node[below] at (\x,-0.35) {\x};
\end{tikzpicture} \\ \hline
\end{tabularx}
\end{document}
Also, in the top row, why is there more space below the text than above it?
Thanks!