# Increasing the width of a block of text in the book class

The following code gives example pages from a style of book.

    \documentclass[a4paper]{book}

\usepackage{xcolor}
\setlength{\topmargin}{-1.5cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand\chaptermark[1]{\markboth{\chaptername\ \thechapter:\enskip#1}{}}
\fancyhf{}

\makebox[0pt][r]{
}
\makebox[0pt][l]{%
}

\usepackage{blindtext}% dummy text

\fancypagestyle{plain}{
\fancyhf{}
\makebox[0pt][r]{
}
\makebox[0pt][l]{%
}
}
\usepackage{mathptmx}
\begin{document}
\blinddocument
\end{document}


I was wondering if there is any way to increase the width of the blocks of text in this document class in the direction as indicated by arrows in the image below: I've tried to use commands from the geometry package and \setlength{\rightmargin}{...} but to no avail. Any help appreciated. I have a feeling it will be something obvious I've missed...

• Have you tried the width option of geometry? \usepackage[width=16cm]{geometry}. By the way, you should not write \setlength\headheight{0cm} since you obviously have a heading. – Eric Domenjoud Nov 22 '16 at 16:34

\setlength\headheight{0cm}
\setlength{\topmargin}{-1.5cm}


you should better use package geometry. From your screenshot I guess that the values topmargin tmargin=2cm, rightmargin rmargin=3cm and textwidth width=14cm are the values you need. If not chage them for your needs.

\usepackage[rmargin=3cm,tmargin=2cm,width=14cm]{geometry} % <===========


in your preamble should do what you want.

With the complete MWE

\documentclass[a4paper]{book}

%\setlength{\topmargin}{-1.5cm}

\usepackage[rmargin=3cm,tmargin=2cm,width=14cm]{geometry} % <===========

\usepackage{xcolor}

\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand\chaptermark[1]{\markboth{\chaptername\ \thechapter:\enskip#1}{}}
\fancyhf{}

\makebox[0pt][r]{
}
\makebox[0pt][l]{%
}

\usepackage{blindtext}% dummy text

\fancypagestyle{plain}{
\fancyhf{}
\makebox[0pt][r]{
}