On 16-Jan-2002 Jules Bean wrote:
> On Wed, Jan 16, 2002 at 12:19:02PM +0100, Juergen Vigna wrote:
>> There is a problem when using multiple paragraphs inside a multicolumn cell.
>> Is this not permitted? Or how is the right LaTeX code to do this?
>> Well I investigated a bit and it seems that latex produces errors only if
>> we have the tabular inside a f.ex.: \textsf{<tabular>}. Actually the
>> whole stuff has nothing to do with multicolumns. This is just a problem
>> of the above font-family change and having multiple paragraphs inside a
>> tabular cell!
>
> I don't have CVS LyX, but I'm happy to look at LaTeX. If you email me
> a minimal .tex exhibiting the bug, I'll try to fix it.
Well here it is! If you remove \texttt{ before \begin{tabular} and the
} after \end{tabular} all is ok but asis it will give errors.
Thanks for your help!
Jug
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. J�rgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Love is a grave mental disease.
-- Plato
%% LyX 1.2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,german]{article}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\setlength\parskip{\medskipamount}
\setlength\parindent{0pt}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\makeatother
\usepackage{babel}
\begin{document}
\texttt{\begin{tabular}{|p{6cm}|c|}
\hline
\texttt{dfasdfasdf sdf asdf}
\texttt{sdf asdfasdf asdf}
\texttt{sdf asdfasdfasdf}&
\\
\hline
\hline
&
\\
\hline
\end{tabular}}
\end{document}