[H-GEN] LaTex Question
Mark Venz
mvenz at itee.uq.edu.au
Thu Jan 29 19:09:37 EST 2004
On Thu, Jan 29, 2004 at 06:28:13PM -0500, irwa82 at froggy.com.au wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> Hi Guys,
>
> I have a question about latex. I have googled but haven't found an answer
> yet.
>
> I would like to have multiple lines in a tabular table.
>
> e.g.
>
> _____________________________________________________________
> | | Po Box 123 | Invoice No: 1234 |
> | Logo | suburb, QLD, 2222 | Invoice Date: 12/01/2004 |
> | Image | | |
> | | Phone: 1234 1234 | |
> | | Fax: 1234 4567 | |
> --------------------------------------------------------------
>
> I am creating an invoice in LaTex and am going to search and replace tokens
> with it. However I can't find out how to have multiple lines in a tabular
> table or any table like the diagram above.
You could use mini-pages in the table,
\begin{minipage}{logosize}
logo image
\end{minipage}
All your columns would need to use the minipages.
or use \multirow{nrow}[njot]{width}[vmove]{contents}
using your example: \multirow{5}{logowidth}{Logo Image}, I'm
not sure what the options ([njot], [vmove] do.
and then define each row after that:
\begin{tabular}{|c|l|l|\hline
\multirow{... & Po Box \ldots & Invoice # \\
& suburb & Invoice date \\
& & \\ % blank line
etc.
& fax & \\ \hline
\end{tabular}
\hline after the \\ will draw the horozontal border.
>
> If anyone can point me to so documentation or give a code example then I
> would be greatful.
There are two books that are invaluable, Lamport's "LaTeX:Users
guide and reference manual" and "The LaTeX Companion" which builds
on the Lamport book. You should be able to find tham at libraries.
Mark
--
Mark Venz <mvenz at itee.uq.edu.au>
| Humans always do the most
| intelligent thing after every
<legomeister at itee.uq.edu.au> | stupid alternative has failed.
| --R. Buckminster Fuller
More information about the General
mailing list