
So I browsed around and I though I had found a solution to this (adding the [1ex] bit), but it doesn't work as I hoped it would.
Here's what I used to produce the table.
Code: Select all
Code, edit and compile here:
\begin{tabular}{c|c|cccccc|cl}Basic & z & $x_1$ & $x_2$ & $x_3$ & $x_4$ & $x_5$ & $x_6$ & Solution & \\[1ex]\cline{1-9}$x_4$ & 0 & $-\frac{4}{7}$ & $-\frac{1}{7}$ & 0 & 1 & $-\frac{3}{7}$ & 0 & $-\frac{170}{7}$ & $r_1:=r_1-3r_2$\\[1ex]$x_3$ & 0 & $\frac{4}{7}$ & $\frac{5}{7}$ & 1 & 0 & $\frac{1}{7}$ & 0 & $\frac{40}{7}$ & \\[1ex]$x_6$ & 0 & $\frac{9}{7}$ & $\frac{20}{7}$ & 0 & 0 & $-\frac{3}{7}$ & 1 & $\frac{100}{7}$ & $r_3:=r_3-3r_2$\\[1ex]\cline{1-9}$z$ & 1 & $-1$ & $-2$ & 0 & 0 & $-1$ & 0 & 40 &\\\end{tabular}

As you can see, it's not exactly what I wanted. How can I fix this?