# \newline not working with longtable?

This table comes from SAS output. The \newline is not working correctly. E.g. "Percent trimmed in tail" ought to be

Percent Trimmed In tail

but it is showing up as

Percent Trimmed In Tail

Here is a minimal example

\documentclass{article}
\usepackage{natbib}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{longtable}

\usepackage{array}
\usepackage{listings}
\usepackage{multicol}
\usepackage{url}

\begin{document}
\begin{longtable}{|r|r|r|r|r|r|r|r|r|}\hline
\multicolumn{9}{|c|}{Trimmed Means}\\\hline
Percent {\newline} Trimmed \newline in Tail &    Number \newline Trimmed \newline in Tail &    Trimmed \newline Mean &    Std Error \newline Trimmed \newline Mean &    \multicolumn{2}{|c|}{95\%~Confidence~Limits} &    DF &    t for H0: \newline Mu0=0.00 &    Pr~>~|t|\\\hline

• You need a cell spec with p{<width>} for \newline to work. – Arash Esbati Jul 8 '15 at 20:47
• If you want to have an explicit line break, use \thead for example (requires makecell). Is this an auto-generated table? – user31729 Jul 8 '15 at 20:47
• I should correct myself, \makecell is sufficient. – user31729 Jul 8 '15 at 21:01