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
General ⇒ Setting Paper size
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
Re: Setting Paper size
You might have more luck with the geometry package?
I once had a similar problem and that package helped me out.
bjorn
I once had a similar problem and that package helped me out.
bjorn
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Setting Paper size
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.
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¹
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}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Setting Paper size
Hi Bjorn, hi Thorsten,
Thanks a lot for your help.
I will try again,
Thierry
Thanks a lot for your help.
I will try again,
Thierry