Graphics, Figures & Tablesplacing images in tabular multirow environment

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
gaitat
Posts: 2
Joined: Wed Jul 14, 2010 11:32 am

placing images in tabular multirow environment

Post by gaitat »

Hello,

I would to format an image inside a tabular environment and part of a multirow. This is my code below but the image of the top left falls outside the cell space. See http://www.virtuality.gr/Capture.JPG.Any suggestions ?

On a second note, how do I add cell spacing around (all sides) the images on the right ?

Thank you for any help.

Code: Select all

\documentclass{article}

\usepackage{multirow, multicol, array}
\usepackage[dvips]{graphicx}

\begin{document}

\begin{tabular}{|c|c|}
\hline
\parbox{200pt}{\multirow{2}{*}{\includegraphics[width=200pt]{noIcon.eps}}}
 & \parbox{200pt}{\includegraphics[trim=0 128 0 0, clip, width=200pt]{noIcon.eps}} \\

\cline{2-2} 
 {} & \parbox{200pt}{\includegraphics[trim=0 0 0 128, clip, width=200pt]{noIcon.eps}} \\

\hline
\parbox{200pt}{\centering ABC} & \parbox{200pt}{\centering DEF} \\
\hline
\end{tabular}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply