Consider the following two tables:
The first table is the table that I wish to have and the second table is the table I obtained for which the code is as follow:
\begin{array}{|c|c|c|c|}
\cline { 2 - 4 } \multicolumn{1}{c|} {} & \|V-QR\|_{2} & \left\|I-Q^{\intercal}Q\right\|_{2} & \left\|I-QQ^{\intercal}\right\|_{2} \\
\hline \text {$\mathsf{CGS3\_QR}$} & & & \\
\text {$\mathsf{MGS\_QR}$} & & & \\
\hline
\end{array}
My only concern is the spacing because in the second table which I got the entries are too narrowed. I hope someone can help and thank you.
table
but you are usingarray
, which begs the question: Why? Also, in an actualtabular
environment you could use\renewcommand{\arraystretch}{1.2}
or an equivalent to change the vertical height of the cells.booktabs
package, which was created keeping this advice in mind (and will result in gaps if you do try to combine them).