[Xy-pic] Thick lines in pdflatex
Hendrik Tews
tews at tcs.inf.tu-dresden.de
Tue Jul 22 17:31:38 CEST 2003
Hi,
Ross Moore writes:
Subject: Re: [Xy-pic] Thick lines in pdflatex
B. Typeset the diagrams as separate graphics, then use dvips -E
to encapsulate them; convert to PDF using Ghostscript
then import the resulting graphic into your document.
I used option B before. However, I had to adjust the bounding box
of the resulting eps by hand. Now I wonder who is to blame for
that? Me? Tex? xypic? dvips?
Here is the latex source:
=============================================================
-------------- next part --------------
\documentclass[
a4paper,
12pt %
]{article}
\usepackage[matrix,arrow,frame,curve,line,rotate]{xy}
\xyoption{ps}
\xyoption{dvips}
\begin{document}
\pagestyle{empty}
\[
\xymatrix at C+2em{
*++[F][F,:<2pt>]++{\textsf{Spec I}}
&
*++<1em,3em>[F][F,:<3pt>]++{\textsf{Spec II}}
\ar at 2@*{[|(3)]}[l]_-[left]*{\hbox{~~refinement}}
&
*++<1em,5em>[F][F,:<4pt>]++{\textsf{Spec III}}
\ar at 2@*{[|(3)]}[l]_-[left]*{\hbox{~~long~refinement}}
&
*[left]+<5em,5em>[F][F,:<5pt>]++{\textsf{Implementation}}
\ar at 2@*{[|(3)]}[l]_-[left]*{\hbox{~~model}}
}
\]
\end{document}
-------------- next part --------------
=============================================================
Tex 3.14159 and Xy-pic 3.7 produce the following DVI:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refinepic.dvi
Type: application/octet-stream
Size: 17976 bytes
Desc: not available
Url : http://tug.org/pipermail/xy-pic/attachments/20030722/313c8fda/refinepic-0001.obj
-------------- next part --------------
However, in the eps, the long refinement is cut off:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refinepic.eps
Type: application/postscript
Size: 40617 bytes
Desc: not available
Url : http://tug.org/pipermail/xy-pic/attachments/20030722/313c8fda/refinepic-0001.eps
-------------- next part --------------
I produced the eps with
dvips -P cmz -E -o refinepic.eps refinepic.dvi
version 5.92b.
Bye,
Hendrik
More information about the xy-pic
mailing list