Quote:
Originally Posted by lfuente
The ratio between A3 and A4 is 1.414
|
This is correct. The dimensions of DIN A4 portrait are width x height 210mm x 297mm. The dimensions of DIN A3 portrait are 297mm x 420mm.
The long side of A_x is always equal to the short side of A_(x+1) and the long side of A_(x+1) is always equal to 2 times the short side of A_x.
This is one way of scaling an image: It is straightforward to convert the most common graphics formats to one another using GIMP. Load (or import) a file in GIMP and then export it as Encapsulated PostScript by using the suffix ".eps".
Then, write a TeX file containing the following code:
%% Set the dimensions of the document:
\vsize=297mm %% For DIN A4 portrait
\hsize=210mm
or
\vsize=11in %% For 8 1/2 by 11 inches
\hsize=8.5in
Say we're using 8 1/2 by 11:
\special{papersize=8.5in, 11in}
\input epsf
\epsfsize#1#2{1.414#1} %% This sets the scaling to 1.414.
Then to include the image:
\epsffile{myfile.eps}
You can change the scaling at any time by calling \epsfsize again with a different argument for the scale.
To position an image on the page you can use something like this:
\vbox to \vsize{%
\vskip.5in %% Skip down half an inch
\hskip.75in %% Skip to the right 3/4in
\line{\epsffile{myfile.eps}\hss}
\vss}
\bye %% End the document
To make a PDF from this TeX file call the following commands from the command line:
tex mydocument.tex
dvipdfmx mydocument.dvi
pdftex doesn't work with epsf.
If anyone wants a complete example, I'll be happy to put one together (I've got dozens).