with the LTXtable package, I was able to define two commands to open
and close a multicolumn respectively, in this way:
\newcommand\openmc{\multicolumn{3}{p{\linewidth}}\bgroup}
\newcommand\closemc{\egroup\\}
such as I could then write something like this (don't try to make any
sense out of this idea; it's simplified from the original one, just to
exhibit the problem):
\begin{longtable}{llX}
\openmc Multicol body\closemc
\end{longtable}
I'm trying the replace ltxtable with tabu, but this hack no longer
works. Minimal test case below:
\documentclass{article}
\usepackage{longtable}
\usepackage{tabu}
\newcommand\openmc{\multicolumn{3}{p{\linewidth}}\bgroup}
\newcommand\closemc{\egroup\\}
\begin{document}
\begin{longtabu}{llX}
\openmc This doesn't work\closemc
\end{longtabu}
\end{document}
If anyone has an idea, I'd like to hear it.
Thanks!
--
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
wrong newsgroup?
try using \tabularnewline instead of \\
Mirko