[OS X TeX] vertical positioning within a cell of a table
Peter Dyballa
Peter_Dyballa at Web.DE
Tue Jun 13 16:48:50 EDT 2006
Am 13.06.2006 um 20:39 schrieb Alain Schremmer:
> The picture and the text are center-aligned.
You cannot judge this -- on the basis of two cells in one row. Add a
new row with a different text length and the same picture of
different length, now changing positions in the row! And don't forget
the second minipage's width ...
> How do I control the alignment?
Presuming that the picture is higher than the line of text, then the
text is vertically centre-aligned, as so often in TeX. You can use an
invisible (one dimension nulled) ruler with maybe a lift (\rule[<some
amount>]{width}{height}) to position the text, or \raisebox{<by some
amount>}{the object} ...
Horizontally the cells get aligned by the table's head: {cl}. Left
cell is centred, right cell is flushright or left-aligned. You can
make it {|c|l|} to see vertical 'margin lines.' \hline would add
horizontal 'margin lines.'
--
Greetings
Pete
Some day we may discover how to make magnets that can point in any
direction.
------------------------- 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 MacOSX-TeX
mailing list