[OS X TeX] vertical positioning within a cell of a table

Alain Schremmer Schremmer.Alain at gmail.com
Tue Jun 13 20:33:46 CEST 2006


Nathan Sanders wrote:

> Alain Schremmer wrote:
>
>> The graphic and the text come out bottom-aligned.
>> How do I get, say, at least a top-alignment or a center alignment?
>
>
> Chris's suggestion of the minipage environment seems to work well:
>
> \begin{tabular}{cl}
>
>   \begin{minipage}{2in}
>     \includegraphics[height=2in,width=2in]{test.eps}
>   \end{minipage}
>
>   &Here is a single line.
>
> \end{tabular}

That's it!
I didn't even put in [height=2in,width=2in]
I will study minipages and I will read the document:
"Using Imported Graphics in LATEX and pdfLATEX"
later on.

Grateful regards.
--schremmer
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list