28 lines
988 B
TeX
28 lines
988 B
TeX
% Actual mag/true and per-shipout device changes, including automatic paper.
|
|
\input math-fonts
|
|
\mag=1200
|
|
\pdfpagewidth=320truebp \pdfpageheight=240truebp
|
|
\pdfhorigin=12truebp \pdfvorigin=18truebp
|
|
\hoffset=2pt \voffset=3pt
|
|
\immediate\openout1=device.aux
|
|
\count0=1
|
|
\setbox0=\vbox{\hsize=200pt \baselineskip=14pt
|
|
\noindent Native device state follows this actual box and its original fonts.
|
|
Both text and mathematics $x_i^j+y$ share the same physical magnification.\par
|
|
\kern3truept \hrule height1pt
|
|
\hbox{Origin and offsets move together.}
|
|
\write1{SHIP=\number\count0;MAG=\number\mag}}
|
|
\shipout\copy0
|
|
{\pdfpagewidth=280truebp \pdfpageheight=210truebp
|
|
\pdfhorigin=20truebp \pdfvorigin=24truebp
|
|
\hoffset=-2pt \voffset=1pt
|
|
\count0=2 \shipout\copy0}
|
|
\pdfpagewidth=0pt \pdfpageheight=0pt
|
|
\pdfhorigin=8truebp \pdfvorigin=10truebp
|
|
\hoffset=0pt \voffset=0pt
|
|
\count0=3 \shipout\box0
|
|
\pdfpagewidth=999pt \pdfpageheight=888pt
|
|
\pdfhorigin=100pt \pdfvorigin=100pt
|
|
\immediate\closeout1
|
|
\end
|