[OS X TeX] Gems from Japan: RPN2TeX and AutoTeX

Ross Moore ross at ics.mq.edu.au
Tue May 18 22:19:40 EDT 2004


Hi Wataru,

On 19/05/2004, at 11:51 AM, MAEDA Wataru wrote:

> I found using pdflatex in RPN2TeX is little difficult, but it's a 
> better way.
> Main difficulty is to make an equation-sized PDF. If anyone has a good 
> idea, please teach me.

This should give you a good start:

\voffset=-1in
\hoffset=-1in
\setbox0=\hbox{$\displaystyle
   ... mathematics coding ...
$}
\dimen0=\ht0
\advance\dimen0\dp0
\pdfpageheight=\dimen0
\pdfpagewidth=\wd0
\shipout\box0


Cheers,

	Ross


>
> -----------------------------------------------------
> Please see <http://www.esm.psu.edu/mac-tex/> for list
> guidelines, information, and LaTeX/TeX resources.
>
>
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list