[OS X TeX] fractions with arrows

Franck Pastor pastor at fusl.ac.be
Sun Jun 5 20:15:01 CEST 2005


> Howdy,
>
> Just for curiosity's sake, does the xypic package need dvips or will 
> it work fine under pdflatex (with pdftricks if necessary)? The 
> documentation mentions METAFONT but also has a reference to 
> PostScript.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)

It works fine with pdflatex and... Newpdftricks ;-) (pictures are often 
cropped with the original pdftricks).

Ross Moore has already answered to a similar question a few weeks ago. 
I have found this in the archives :


[quote=Ross Moore]
There are 2 ways to get better diagrams when using XYpic with pdftex .

A.
One way is to load the  xypdftex  driver-support file:

       \usepackage[pdftex,all,....]{xy}


You should get a line in the .log console window:

(/usr/local/teTeX/share/texmf-local/tex/generic/xypic/xypdftex.tex
   Xy-pic option: pdf-TeX driver v.3.8 loaded)


This requires certain support files to be available, which you can
get from:
      http://www-texdev.ics.mq.edu.au/xypic/xypdf.tgz

which archive has the file:  xypdftex.tex
and several others with similar names:  xypdf???.tex .
All should go into the same location as   xypic.sty
though elsewhere in a texmf/ tree should also work.

Maybe  gwTeX  already installs this for you.


B.
The 2nd way is to make use of nice PostScript drawing
commands that Xy-pic can use. Load it this way:

        \usepackage[ps,dvips,all,....]{xy}

with the 'ps' and 'dvips' options being the critical ones.

Now you are in a situation similar to using PStricks with pdfTeX.

There are packages  pdftricks,  ps4pdf  etc.
which implement the 3-step strategy of running TeX+Ghostscript
to first make the diagrams in PostScript, then convert to PDF,
for finally importing PDF images into the main document.



This latter is the best way to go, for output of the highest
quality, with access to proper PostScript lines, curves,
ovals, scaling, rotations, etc.



Hope this helps,

	Ross

[/quote]

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list