Latex

From Metapost

Revision as of 00:01, 3 March 2009 by 63.251.211.5 (Talk)
(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