I tried to create an environment that creates a tabular frame around the content of the environment.
For instance:
\begin{tabular}{|l|l|}
\hline
\multicolumn{2}{|c|}{Team sheet} \\
\hline
\end{tabular}
should become
\begin{example}Team sheet\end{example}
and
\newenvironment{example}{
\begin{tabular}{|l|l|}
\hline
\multicolumn{2}{|c|}{
}{
} \\\hline \end{tabular}
}
But "splitting up" the parentheses of \multicol does not work as straight forward as I wanted due to the obvious parentheses pairing problem. So how do I work around that? Is there an environment for that command available that would allow for this "splitting"?