[Tex/LaTex] from A4 paper to A5 and keeping the number of characters per line

marginspaper-size

I have written my thesis for A4 paper using the memoir class. I would like to print one version on A5 paper. Is there a way to reduce margins automatically in order to keep the same layout for the text?

I mean, I have for instance 70 characters per line, I would like to keep this number of characters per line by decreasing the size of the margin.

Thanks for your help.

edit: here is a picture of what I want to do (copy/paste in gimp):

original A4 paper

a4

A5 paper (of course I want larger vecrtical margin, but the horizontal margins are perfect).

a5

Best Answer

With geometry

a5paper

\documentclass[12pt]{article}
\usepackage{kantlipsum}
\usepackage[a5paper,textwidth=5in,textheight=7in]{geometry}
\begin{document}
  \kant[1-40]
\end{document}

enter image description here

a4paper

\documentclass[12pt]{article}
\usepackage{kantlipsum}
\usepackage[a4paper,textwidth=5in,textheight=7in]{geometry}
\begin{document}
  \kant[1-40]
\end{document}

enter image description here

I have just fixed the textwidth to be same for both versions. Adjust the textwidth and textheight as suitable to you and keep them same for both papers.