I'm trying to achieve something like this in LaTeX: http://sorenhaagerup.dk/files/table-sample.pdf (sample made in OpenOffice.org)
The most important part is the multiline verbatim-environment inside a cell. Is this possible at all?
I will be very grateful to any answers, since this has been bugging me quite a lot.
I have looked at your table and rebuild the first part of it - the "var" part. Since building tables with latex isn't my speciality the code looks pretty messy but does the job. The relevant packages are
multirow
- to achieve the nested table - andverbatim
to get the verbatim environment you asked for. As you will see I had to use additionalminipages
the handle the proper placing of the verbatim environment. You can comment them out to see the difference. Furthermore I started the table with the following lineotherwise if you don't use
p
-aragraph colums for the last column you might get some errors using specified environments inside the columns.As references I would suggest the latex-wikibooks which have additional examples and tips.
Here is the whole .tex example: