I have this silly question that might look like a duplicate, but I still cannot get it to work... I have the following table, and I just need more vertical spacing at the top and bottom of the 3rd row... Adding [3cm] after the end of the row would give me more space at the bottom of the row, but what about the space at the top? Many thanks! MWE:
\documentclass{standalone}
\usepackage{pbox}
\begin{document}
\renewcommand{\arraystretch}{2}
\begin{tabular}{|c|c|c|c|c|}
\cline{2-5}
\multicolumn{1}{c|}{}
& \textbf{group a}
& \textbf{group b}
& \textbf{group c}
& \textbf{group d}\\
\cline{1-5}
\textbf{classif1}
& A
& B
& A
& B\\
\cline{1-5}
\textbf{classif2}
& A
& B
& B
& A\\
\cline{1-5}
\textbf{IDs}
& \textit{\pbox{20cm}{ALK, APC,\\CDH1, EGFR,\\GPC3, HNF1A,\\MPL, PHOX2B,\\RET, TSHR}}
& \textit{\pbox{20cm}{AXIN1, BRCA2,\\BUB1B, CDKN2A,\\ERCC2, ERCC4,\\FANCC, FANCE,\\FH, HRAS,\\MLH1, MSH6,\\NF1, PMS2,\\PRKAR1A, RB1,\\SBDS, SDHAF2,\\SDHB, SDHD,\\SMAD4, SMARCB1,\\STK11, SUFU,\\TP53, TSC1,\\XPA, XPC}}
& \textit{\pbox{20cm}{ATM, BLM,\\BRCA1, BRIP1,\\CDC73, CDK4,\\CHEK2, CYLD,\\DDB2, DICER1,\\ERCC3, ERCC5,\\EXT1, EXT2,\\FANCA, FANCD2,\\FANCG, FLCN,\\MSH2, MUTYH,\\NF2, PALB2,\\PMS1, RECQL4,\\SDHC, SMARCE1,\\TSC2, VHL,\\WRN}}
& \textit{\pbox{20cm}{BMPR1A, FANCF,\\KCNJ5, KIT,\\LMO1, MAX,\\MEN1, NBN,\\PRF1, PTCH1,\\PTEN, TERT,\\WT1}}\\[3cm]
\cline{1-5}
\textbf{Number}
& 10
& 28
& 29
& 13\\
\cline{1-5}
\end{tabular}
\end{document}
\hlines
of a tabular. This package provides a modifierS
acting on usual column types so that to ensure a minimal distance that can be controlled through two parameters\cellspacetoplimit
and\cellspacebottomlimit
." – Stephen Jan 26 '14 at 19:27