Latex

From Metapost

Revision as of 23:05, 24 September 2006 by Zielaj (Talk | contribs)

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