[Tex/LaTex] Align Note below table

horizontal alignmenttables

My question concerns the "Note" below the table. This is my code:

\begin{table}
\begin{center}
\caption{ Descriptive statistics of total sample based on modified data set}\label{table:descrtotal}
\begin{footnotesize}
\begin{tabular}{l|rrr}
\hline\hline
 & \% E & n UE & n E\\ \hline
No Denomination & 0.63 & 1425 & 2470\\ 
Buddhist & 0.70 & 312 & 731\\ 
Hindu & 0.24 & 482 & 149\\ 
Muslim & 0.23 & 3993 & 1185\\ 
Orthodox & 0.51 & 1574 & 1609\\ 
Other Christian groups & 0.53 & 697 & 779\\ 
Other Denominations & 0.53 & 294 & 326\\ 
Other Muslim groups & 0.14 & 1428 & 238\\ 
Protestant & 0.55 & 1214 & 1472\\ 
Roman Catholic & 0.56 & 2031 & 2550\\ 
\hline\hline
\end{tabular}
\end{footnotesize}
\\
\tiny Note: Share of aliens employed (\% E), Number of aliens unemployed (n UE) and Number of aliens employed (n E).\\
\end{center}
\end{table}

I would like to aligne the Note such that it starts where the ligne starts and breaks where the line ends – is that possible?

Best Answer

Add your note as an additional row spanning all four columns via \multicolumn. Making longer texts break in tables is possible with a minipage. The downside is, however, that you have to guesstimate the width of your table (I put in 6.5cm).

\documentclass{article}
\begin{document}
\begin{table}
\centering
\caption{ Descriptive statistics of total sample based on modified data set}\label{table:descrtotal}
\footnotesize
\begin{tabular}{l|rrr}
\hline\hline
 & \% E & n UE & n E\\ \hline
No Denomination & 0.63 & 1425 & 2470\\ 
Buddhist & 0.70 & 312 & 731\\ 
Hindu & 0.24 & 482 & 149\\ 
Muslim & 0.23 & 3993 & 1185\\ 
Orthodox & 0.51 & 1574 & 1609\\ 
Other Christian groups & 0.53 & 697 & 779\\ 
Other Denominations & 0.53 & 294 & 326\\ 
Other Muslim groups & 0.14 & 1428 & 238\\ 
Protestant & 0.55 & 1214 & 1472\\ 
Roman Catholic & 0.56 & 2031 & 2550\\ 
\hline\hline
\multicolumn{4}{l}{%
  \begin{minipage}{6.5cm}%
    \tiny Note: Share of aliens employed (\% E), Number of aliens unemployed (n UE) and Number of aliens employed (n E).%
  \end{minipage}%
}\\
\end{tabular}
\end{table}
\end{document}

enter image description here


Edit: I doubt that it's good style, but you get nicer-looking spacing before the note if you add an empty line (~\\) before it:

  \begin{minipage}{6.5cm}~\\
    \tiny Note: ...

Does anybody by chance have a solution how to get the width of the table automatically for the minipage?


Edit2: Used \centering and \footnotesize, as suggested.