Re: LaTeX doesn't like \begin{Verbatim}[] in tabular environments

Steinar Bang <[email protected]> Tue, 29 Apr 2003 22:08:44 +0200
Newsgroups gmane.text.docbook.db2latex.devel
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> James Devenish <[email protected]>:

[snip!]
> I'm not sure about this one... I have implemented a workaround like
> the one you suggested, though.

It works well most of the time, but it doesn't seem to like #
characters in the verbatim elements:

  ! Illegal parameter number in definition of \reserved@a.
  <to be read again> 
                    
  l.302 {{\texttt{Some fixed# width text}
                                         }} & {{Some normal text}} \tabularnew...

  ? 

Here's the table that created the problem:

  <informaltable>
    <tgroup cols="2">
	<tbody>
	  <row>
	    <entry><programlisting>Some fixed# width text</programlisting></entry>
	    <entry>Some normal text</entry>
	  </row>
	  <row>
	    <entry><screen>More fixed width text</screen></entry>
	    <entry>More normal text</entry>
	  </row>
	</tbody>
    </tgroup>
  </informaltable>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf