As seen below, my goal is to save some space. For example,
Applied
Model
Logistic
Model
The code i'm using to generate the table is:
\begin{table}[ht]
\renewcommand{\arraystretch}{1}
\addtolength{\tabcolsep}{-5pt}
\centering
{\scriptsize
\begin{tabular}{llccc}
\hline
Algorithm & Dataset & Applied Model (\%) & Definition of data (\%) & Overall Assumptions (\%) \\ \hline
\multirow{3}{*}{Logistic MODEL} & + & 63.6 & 98 & 95.3937 \\
& - & 68.1 & 95.5 & 95.4757 \\
& - & 100 & 100 & 99.1935 \\ \hline
\end{tabular}}
\label{table:tex-exchange}
\end{table}
Best Answer
You can use
\multicolumn
to override the column specification and then put the header text inside a\parbox
(I centered the text inside each\parbox
, but this is, of course, optional); the following modification of your code illustrates this approach:EDIT: another option would be to manually split the header text using several rows:
Note that I took the liberty to use some of the features provided by the booktabs package; of course, this suggestion is completely optional.