Latex

From Metapost

Revision as of 23:04, 24 September 2006 by Zielaj (Talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

To embed your files in latex/pdflatex use:

 \\documentclass{article}
 \\usepackage{ifpdf}
 \\ifpdf
   \\usepackage[pdftex]{graphicx}
   \\DeclareGraphicsRule{*}{mps}{*}{} 
 \\else
   \\usepackage{graphicx}
 \\fi
 
 \\begin{document}
   \\includegraphics{yourfile.1}
 \\end{document}
Personal tools