Re: simple graphics in latex

1999-05-05 Thread William Park
On Wed, May 05, 1999 at 03:17:49PM +, Shao Zhang wrote:
 Hi,
   I need to include some simple graphics(boxes, triangles,
   similar to a flow chart) in my latex document.
 
   I am wondering: Will it be easier to use gimp and xfig to draw
   the chart first and then include it in latex as a picture, OR
   use some sort of latex packages to do it straight in latex.
 
   Which method will you recommand? And How do i do it??
 
   Thanks.
 
 Shao.
 -- 
 
 Shao Zhang - Running Debian 2.1  ___ _   _
 Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
 University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
 Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
 Email: [EMAIL PROTECTED]  
 |___/ 
 _

Well, it depends how complicated your drawing is.  My solution would
be to use PiCTeX; LaTeX's picture box is available, but it's pain.
Draw your graph on paper first, then translate the coordinates to
PiCTeX.  Your graph would be something like
$$\beginpicture
...
\endpicture$$

I also wrote a PiCTeX extension to use relative coordinates.  But, you
have to know PiCTeX in order to use it.

William Park


RE: simple graphics in latex

1999-05-05 Thread Paulo J. da Silva e Silva
Shao Zhang writes:
  Hi,
   I need to include some simple graphics(boxes, triangles, similar to a 
  flow chart) in
   my latex document.
  
   I am wondering: Will it be easier to use gimp and xfig to draw the 
  chart first and then
   include it in latex as a picture, OR use some sort of latex packages to 
  do it straight in
   latex.
  
   Which method will you recommand? And How do i do it??
  
   Thanks.
  
  Shao.

Usually when I have to do such things I draw using xfig and I export as
PICTEX. It is a good way to have the better of both worlds: easy drawing and
keeping the capability of using exactly the Latex fonts and mathematical
symbols. You shoud give it a try. 

A hint: if you want mathematica symbols in your drawing you can use latex
syntax ($1 = \alpha$, for exemple), but don't forget to set the special flag
(you can set it using the edit bottom and the clicking the text). If you
dont't do so, Latex will not interpret it as commands.

Hope that helps.

Paulo
-- 
Paulo José da Silva e Silva   [EMAIL PROTECTED]
Ph.D. Student in Applied Math. 
University of São Paulo - Brazil
http://www.ime.usp.br/~rsilva

May the code be with you :-)