GeneralSetting Paper size

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
itb1000
Posts: 25
Joined: Mon Sep 29, 2008 4:19 pm

Setting Paper size

Post by itb1000 »

Hi,
I started to write my thesis with the standart report skim.
So the document starts like this:

\documentclass[a4paper,12pt]{report}
\usepackage{...}
\begin{document}
...


The thesis has to be printed with this size:
paperwidth 170mm, paperlength 240mm, margin right 25mm,
margin left 20mm, upper offset 18mm, offset down 30mm.
I created a new document starting with:

\documentclass[10pt]{report}
\linespread{1.5}
\setlength{\paperwidth}{170mm}
\setlength{\paperheight}{240mm}
\setlength{\voffset}{18mm}
\setlength{\textheight}{192mm}
\setlength{\textwidth}{125mm}
\setlength{\marginparwidth}{25mm}


Then I copied and pasted the text of the former [a4paper,12pt]{report}.
I create the pdf file but the text appears cut.

Can somebody explain me what is wrong?

Thanks,
Thierry

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

bjorn victor
Posts: 28
Joined: Fri Apr 13, 2007 11:17 am

Re: Setting Paper size

Post by bjorn victor »

You might have more luck with the geometry package?
I once had a similar problem and that package helped me out.

bjorn
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Setting Paper size

Post by localghost »

Perhaps you should try another approach by using geometry (as already mentioned by bjorn victor). Page and paper dimensions are better set with this package.

Code: Select all

\documentclass[10pt]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[includeheadfoot]{geometry}
\geometry{
  paperwidth=170mm,
  paperheight=240mm,
  text={125mm,192mm},
  left=20mm,
  top=18mm,
%  right=25mm,
%  bottom=30mm
}
\usepackage[onehalfspacing]{setspace}
\usepackage{txfonts}
\usepackage{blindtext}

\parindent0em

\begin{document}
  \Blinddocument
\end{document}
For your desired interline spacing you better use setspace. Since you are not using one of standard paper formats, you may take look at crop to write on standard paper but print on the desired paper size. This would also make it easier to check whether every is right.


Best regards
Thorsten¹
itb1000
Posts: 25
Joined: Mon Sep 29, 2008 4:19 pm

Re: Setting Paper size

Post by itb1000 »

Hi Bjorn, hi Thorsten,
Thanks a lot for your help.
I will try again,
Thierry
Post Reply