latex
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
latex [2010/12/26 19:34] – created tkbletsc | latex [2011/03/19 17:42] (current) – [Figures as EPS or PDF] tkbletsc | ||
---|---|---|---|
Line 7: | Line 7: | ||
(The state of science publishing blows, and so does latex.) | (The state of science publishing blows, and so does latex.) | ||
+ | Anyway, here are some notes for this crap. | ||
===== Figures as EPS or PDF ===== | ===== Figures as EPS or PDF ===== | ||
- | If you want to use an actually good tools (e.g. Visio, Excel) instead of [[http:// | + | If you want to use actually good tools (e.g. Visio, Excel) instead of [[http:// |
- | If you're using plain latex, it has to be eps. | + | If you're using pdflatex, the figure |
+ | - Install CutePDF, a free PDF writer | ||
+ | - Print your figure to a PDF | ||
+ | - Use the '' | ||
+ | - Include the cropped PDF file in your document | ||
+ | If you're using plain latex, it has to be EPS. To get one on Windows: | ||
+ | - Add a printer with a postscript driver with output set to FILE: | ||
+ | - Print your figure to a postscript file | ||
+ | - Use this perl script to add a bounding box, effectively cropping it from a full page to just what you drew. {{: | ||
+ | - Include the trimmed EPS file in your document | ||
+ | If you have an EPS and need a PDF, use '' | ||
===== pdflatex paper size ===== | ===== pdflatex paper size ===== | ||
- | Anyway, if you're using pdflatex and the paper size is wrong, even though it worked fine with plain latex, put this below your '' | + | If you're using pdflatex and the paper size is wrong, even though it worked fine with plain latex, put this below your '' |
\setlength{\pdfpagewidth}{8.5in} | \setlength{\pdfpagewidth}{8.5in} | ||
\setlength{\pdfpageheight}{11in} | \setlength{\pdfpageheight}{11in} | ||
\usepackage{graphicx} | \usepackage{graphicx} | ||
- | Why? As the [[http:// | + | Why? As the [[http:// |
latex.1293420877.txt.gz · Last modified: 2010/12/26 19:34 by tkbletsc