Latex

From Metapost

(Difference between revisions)

Revision as of 23:04, 24 September 2006

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