Re: how to insert one figure as part of the other figure ..

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Sat, 7 Apr 2012 16:26:05 +0800 (CST) schrieb P Xu:

> Hi, everybody, here I have a problem which I have tried many times to solve but failed to solve. Your help would be very much appreciated.
>  
> Suppose that I have two eps figures A and B. Usually, I use 
> \begin{figure}
> \centering 
> \includegraphics[totalheight=90mm]{A.eps}
> \caption{Show Figure A}
> \end{figure}
>  
> Now my problem is this: I want to insert another eps figure B.eps (as a small annotating figure) inside Figure A, i.e. inside the bounding box defined by 
> \includegraphics[totalheight=90mm]{A.eps}. I do not want to affect both the position of Figure A and its caption either. 
>  
> How could I do this? 

You can use e.g. a null-size picture to place the second eps on top
of the first:

\documentclass{article}
\usepackage{color}
\begin{document}

\unitlength1mm
\rule{6cm}{5cm}%
 \begin{picture}(0,0)
 \put(-40,25){\color{red}\rule{2cm}{2cm}}
 \end{picture}
\end{document}

-- 
Ulrike Fischer 


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.