Marketplace:

 
Cheap web hosting provider with extensive free web hosting features
Register or buy domain name, include free email and domain forwarding services
Cheap and affordable domain name registration and domain name transfer from $2.95/yr

 

   

Export to TeX PStricks

next up previous contents index

Export to TeX PStricks

TEX is a sophisticated document typesetting system. The PSTricks TEX packages provide considerable support for PostScript within TeX. This export filter generates a tex file for processing by TEX (although usually LATEX, an easier to use macro package written in TEX, is used). To include the diagram in your LATEX document you will need to import the pstricks package for LATEX and input the actual diagram (as saved in diagram.tex for example:

\include{diagram}


Depending on the version of LATEX and PStricks you are using, you may need to uncomment some macro definitions in the diagram file. If LATEX gives you the error something like:

! Undefined control sequence.
<recently read> \setfont


You will need to remove the initial percent sign (LATEX's comment command) from the definitions in diagram.tex and it is best to rename the newcommand to providecommand in all three cases (to avoid problems when including more than a single diagram in the one LATEX document:

\newcommand{\setlinejoinmode}[1]{}
\newcommand{\setlinecaps}[1]{}
\newcommand{\setfont}[2]{}


All should then work.


next up previous contents index


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.   "  

Wednesday 7 January 2009 11:57:51 1231329471