\section{Change the improper fractions to a mixed number.}
\begin{tabularx}{\linewidth}{|X|X|} \hline
$\dfrac{29}{3}$ & $\dfrac{30}{4}$ \\ \hline
$\dfrac{22}{5}$ & $\dfrac{48}{5}$ \\ \hline
$\dfrac{47}{8}$ & $\dfrac{73}{8}$ \\ \hline
$\dfrac{29}{9}$ & $\dfrac{55}{9}$ \\ \hline
$\dfrac{31}{6}$& $\dfrac{57}{6}$ \\ \hline
\end{tabularx}
This works great to stretch the table horizontally to fit the page width, but I also want empty space for the student to work so, how can I stretch it to fit the remaining vertical space on the page? I am currently using the document class article and tabularx package, but those can be changed if something else is appropriate.
edit: I do not need to have the elements contained in boxes, but I think the boxes help the students keep their work neat (or at least contained). I do need to have the elements lined up properly which doesn't happen when I use columns.
edit: I have looked at the tabularht, but I still have to guess and check to get the boxes to be the right size. I was hoping for something more automatic similar to the \linewidth of tabular. I also would like the question to be at the top left of the box.
Best Answer
Try the following code, made with
tabularht
package:EDIT
Seeing the edited question, the following can be a solution, using the lenght
\pagetotal
to determine the exact position in the page before the table (note that you have to put a\clearpage
before a new page):