(I am rolling my own little system to take my LaTeX file and convert it to reasonable HTML and Epub. I have run into the following problem.)
I would like to keep my tabulars very simple. There are some (header) cells that I would like to have broken at spaces.
\begin{tabular}{lr}
& long column name \\
interesting & 2
\end{tabular}
inside a tabular, using a \\ is hazardous. I also do not want to make my tabular programming very complex. Ideally, I want a macro
\begin{tabular}{lr}
& \cellspacebreak{long column name} \\
interesting & 2
\end{tabular}
that breaks spaces to lines, as if I had had \begin{minipage}{\widestwidth} long\\column\\name \end{minipage}. this is probably easier in LuaTeX, but I need a solution for pdfTeX. I also have a preference, not absolute, to stick to the standard tabular environment. both of these are necessitated by the fact that a number of users will use this, and they may not have very recent TeX installations or sophistication.
Does this exist?


