Here are two ways — breaking lines in cells with the makecell
package; we also can give a common formatting, alignment, &c. to cells introduced by the commands \thead
and \makecell
. Btw, you shouldn't set both \parskip
and \parindent
to a non-zero value. Also, \linespread
is a factor, not a length.
With vertical lines:
\documentclass[11pt]{article}
\usepackage{geometry}
\setlength{\parskip}{1em}
\setlength{\parindent}{1em}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{caption}
\captionsetup{font ={bf, sf}}
\usepackage{comment}
\usepackage{ftnxtra}
\usepackage{array}
\usepackage{makecell}
\renewcommand\theadalign{bc}
\begin{document}
\begin{table}[t]
\sffamily\renewcommand{\arraystretch}{1.25}
\caption{A first table}
\begin{tabular}{ | l | *{3}{c|} }
\hline
Country & Survey Year & \thead{1 Percent Tax on Wealthiest & \\ 10 Percent of Households} & \thead{Progressive Tax Rate Schedule:\\ 1 Percent on Top 10 Percent and\\ Additional 1 Percent on Top 5 Percent} \\
\hline\noalign{\vskip0.667ex}
\hline
Canada & 1999 & 0.6 & 1.1 \\
\hline
Germany & 2006 & 1.1 & 2.0 \\
\hline
Italy & 2004 & 1.0 & 1.7 \\
\hline
Japan & 2003 & 1.2 & 2.0 \\
\hline
United Kingdom & 2000 & 0.8 & 1.3 \\
\hline
United States & 2006 & 1.1 & 3.1 \\
\hline
Unweighted Average & \textemdash & 1.1 & 1.9 \\
\hline
\end{tabular}
\end{table}
\end{document}
Without vertical lines, using booktabs
: in the opinion of many, it looks more professional:
\documentclass[11pt]{article}
\usepackage{geometry}
\setlength{\parskip}{1em}
\setlength{\parindent}{1em}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{caption}
\captionsetup{font ={bf, sf}, singlelinecheck=off}
\usepackage{comment}
\usepackage{ftnxtra}
\usepackage{array, booktabs}
\usepackage{makecell}
\renewcommand\theadalign{bc}
\begin{document}
\begin{table}[t]
\sffamily\renewcommand{\arraystretch}{1.25}
\caption{A first table}
\begin{tabular}{ @{\,}l *{3}{c}@{\,} }
\toprule
Country & Survey Year & \thead{1 Percent Tax on Wealthiest \\ 10 Percent of Households} & \thead{Progressive Tax Rate Schedule:\\ 1 Percent on Top 10 Percent and\\ Additional 1 Percent on Top 5 Percent} \\
\midrule
Canada & 1999 & 0.6 & 1.1 \\
Germany & 2006 & 1.1 & 2.0 \\
Italy & 2004 & 1.0 & 1.7 \\
Japan & 2003 & 1.2 & 2.0 \\
United Kingdom & 2000 & 0.8 & 1.3 \\
United States & 2006 & 1.1 & 3.1 \\
\addlinespace
Unweighted Average & \textemdash & 1.1 & 1.9 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
CTRL+K
then. There's also an\end{table}
missing. Do you really need to change the linespread?