I have a document typeset in letter
paper size. I obtained it with the fullpage
package, which sets all 4 margins to be 1 inch.
Now I would like to use the a4paper
option, but keeping exactly the same text width (I spent time to adjust some equations).
What size should I pass to the geometry
package together with the a4paper
option? Seems that 1 inch is not the right solution.
Best Answer
Please see that an exact solution depends on how you define 1 Inch in cm or mm. I simply use here the fixed version for
Be aware of rounding errors for the conversion of Inch to mm ...
Because you gave no mwe (please next time add one!) I can only guess what you are doing. Please see the following MWE containing the "formula" to get the current
\textwidth
with paperletter
and the calculation for the needed length of margins for the useage of paper A4 with the same\textwidth
. Simply move the%
from one call ofgeometry
to the other to get first paperletter
, seconda4
:and the resulting letter pdf:
The marked text width (with both red arrows pointing on the typing area at the same height) is 165.2 mm for letter paper and for a4 paper after moving the
%
as already mentioned ...So at last the answer to your question is:
use
to get the same text width, but be aware of changing page numbers in longer documents, because the text height is changed too between the two paper sizes
letter
anda4
...