General ⇒ Setting Paper size
Setting Paper size
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
Re: Setting Paper size
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
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¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Setting Paper size
Thanks a lot for your help.
I will try again,
Thierry