Re: [TeX] Flow Chart in LaTeX?


[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

On Mon, 17 Jan 2000, Jiangyi Liu wrote:
> Would you please explain it in detail? I'm quite new to TeX so I don't
> know how to use psfrag and how to include eps format picture.

Using eps graphics in latex , you can see a manual named 
"Using Imported graphics in Latex". It can be obtained
from ctan site and also is included in miktex, tetex and
other free tex softwares. It also introduce the psfrag package
briefly.  

> 
> Would you show me an example? Thanks.

Below is a example. suppose you have create an eps figure,
and there are two  characters "See, you" in it.

\documentclass{article}

\usepackage{CJK}% load CJK chinese macros support.
\usepackage[dvips]{graphicx}% load latex standard graphics package.
\usepackage[dvips]{psfrag}% load psfrag package. make sure it is the last
                          % package you load.

\begin{document}

\begin{CJK}{GB}{song}% SongTi Simplified Chinese , standard CJK encoding.

\psfrag{see}[c][c][1.5]{再}% replace the word "see" to "再"
                                  % align in center and enlarge to 1.5
                                  % times size.
\psfrag{you}[c][c][1.5]{见}

\includegraphics[width=4in]{my.eps}% put the my.eps with width=4in.

\end{CJK}
\end{document}

using latex to compile the file and dvips to create ps file.
then you will see the character in my.eps now is chinese
word "再见".

Wang

------------------------------------------------------------------------
Mr. Wang Lei                      Phone: 86-10-62616670 
                                  Email: lwang@amath8.amt.ac.cn
Institute of Applied Mathematics         leiwang@btamail.net.cn
Chinese Academy of Science        Address: P.O.Box 2734, Beijing, 100080  
------------------------------------------------------------------------                                                 




[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
References
Re: [TeX] Flow Chart in LaTeX?, Jiangyi Liu

Copyright©2000-2002 CTEX.ORG, All Rights Reserved
版权所有 CTEX.ORG