I'm trying to create tables with small font size text in cells and large space between rows.
If I put \small
in every cell, the command
\renewcommand{\arraystretch}{1.3}
works, but if I try to put \small
for all the table, it doesn't work anymore.
Is there a way to set small font size once for all the cells keeping the large space between rows?
Here is the MWE:
\documentclass[11pt,openright]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\pagenumbering{gobble}
\usepackage[british,english]{babel}
\usepackage{tabulary}
\usepackage[flushleft]{threeparttable}
\renewcommand{\arraystretch}{1.3}
\usepackage{booktabs}
\usepackage[margin=10pt,font=small,labelfont=bf,labelsep=period,format=hang,indention=0cm]{caption}
\captionsetup[table]{position=above, belowskip=4pt}
\begin{document}
%table with \small for all the table
\begin{table}[!h]
\centering
\begin{threeparttable}[b]
\caption{Table with \textbackslash{}small set once for all the cells}
\small
\begin{tabular}{@{}ll@{}}
\toprule
\addlinespace
& Capital Elements\\
\addlinespace
\midrule
Tier 1 & Paid-up share capital/common stock \\
& Disclosed reserves \\
\addlinespace
Tier 2 & Undisclosed reserves \\
& Asset revaluation reserves \\
& General provision/general loan-loss reserves \\
& Hybrid (debt/equity) capital instruments \\
& Subordinated debt \\
\bottomrule
\end{tabular}
\par
\begin{tablenotes}[para,flushleft]
\footnotesize{}\emph{Source}: BCBS (1988).
\end{tablenotes}
\end{threeparttable}
\end{table}
%table with \small at every cell
\begin{table}[!h]
\centering
\begin{threeparttable}[b]
\caption{Table with \textbackslash{}small set at every cell}
\begin{tabular}{@{}ll@{}}
\toprule
\addlinespace
& {\small{}Capital Elements}\\
\addlinespace
\midrule
{\small{}Tier 1} & {\small{}Paid-up share capital/common stock}\\
& {\small{}Disclosed reserves}\\
\addlinespace
{\small{}Tier 2} & {\small{}Undisclosed reserves}\\
& {\small{}Asset revaluation reserves}\\
& {\small{}General provision/general loan-loss reserves}\\
& {\small{}Hybrid (debt/equity) capital instruments}\\
& {\small{}Subordinated debt}\\
\bottomrule
\end{tabular}
\begin{tablenotes}[para,flushleft]
\footnotesize{}\emph{Source}: BCBS (1988).
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
And the output:
\small
is considered line spacing (baseline) for small size font , at local placing of\small
stretching still consider normal size fonts. So the baseline is higher as in the first case.\small
is in effect locally in curly braces: As the scope of\small
is the cell itself, you could write\small Tier 1
instead of{\small{}Tier 1}
-- less code clutter, right?