Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: exporting graphs to .eps


From   "Raymond Guiteras" <[email protected]>
To   [email protected]
Subject   Re: st: Re: exporting graphs to .eps
Date   Wed, 11 Oct 2006 14:34:16 -0400

Thanks, that works great.
I was compiling in SWP 5.0, perhaps that's where the hiccup occured.
When I ran your .tex file on our Unix machine -- This is pdfTeX,
Version 3.14159-1.10b (Web2C 7.4.5) -- everything came out fine, once
I ran eps2pdf on the eps file.

Thanks again.

R

ps - apologies to the list for the double-posting.

On 10/11/06, Kit Baum <[email protected]> wrote:
The problem seems to be in your eps viewer. When I download the last
graph and open it with the standard app (Preview), the title looks
perfectly aligned. When I bring your eps file into LaTeX and compile
this file, it looks just fine:

\documentclass[11pt]{article}
\usepackage{geometry}                % See geometry.pdf to learn the
layout options. There are lots.
\geometry{letterpaper}                   % ... or a4paper or a5paper
or ...
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/
`basename #1 .tif`.png}
\title{Brief Article}
\author{The Author}
\begin{document}
\maketitle
\begin{figure}[htbp] %  figure placement: here, top, bottom, or page
    \centering
    \includegraphics[width=6in]{TestingGraphics2.eps}
    \caption{example caption}
    \label{fig:example}
\end{figure}
\end{document}

What LaTeX distribution are you using? I'm using standard Unix teTeX.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


On Oct 11, 2006, at 2:33 AM, statalist-digest wrote:

Here are the graphs created:
http://web.mit.edu/guiteras/Public/TestingGraphics2.wmf
http://web.mit.edu/guiteras/Public/TestingGraphics2.gph
http://web.mit.edu/guiteras/Public/TestingGraphics2.eps

And note that the title of the last of these is to the left of center.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index