Actualmente estoy escribiendo mi tesis. El requisito para el margen del texto es 2 cm superior, 2 cm derecho, 4 cm izquierdo y 2 cm inferior. Mi configuración funciona para todas las páginas, excepto las páginas en las que se encuentran los títulos de los capítulos. ¿Hay alguna forma de solucionarlo? Estoy usando el compilador pdfLaTeX.
**\documentclass[12pt,a4paper]{report}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{array}
\usepackage{anysize}
\usepackage{faktor}
\usepackage{placeins}
\usepackage{float}
\usepackage{enumerate}
\usepackage{fancyhdr}%for page number font
\usepackage{lmodern}%also for page number font
\usepackage[pdftex]{graphicx}
\usepackage{caption}
\usepackage{booktabs, calc, cleveref}
\usepackage{mathptmx}%Font: Times New Roman
\usepackage{setspace}
\usepackage[font={small},labelfont=bf]{caption}
\usepackage[titles]{tocloft}
\usepackage[notquote]{hanging}
\usepackage{sectsty}.
\chapternumberfont{\nohang\centering\large\MakeUppercase}
\chaptertitlefont{\nohang\centering\large\MakeUppercase}
\sectionfont{\fontsize{12}{15}\selectfont}
\usepackage{tikz}
\usepackage[final]{pdfpages}
\usepackage[footskip=1cm]{geometry}
\geometry{
left=40mm,
right=20mm,
top=20mm,
bottom=20mm,
}
%%%%%%%
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\renewcommand\cftchappresnum{CHAPTER }
\cftsetindents{chapter}{0em}{6em}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
%%%%
\fancypagestyle{plain}{
\fancyfoot{}
\fancyfoot[R]{\fontsize{10pt}{10pt}\selectfont\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
\pagestyle{plain}
%%%%
\renewcommand{\contentsname}{Table of Contents}
\renewcommand{\bibname}{REFERENCES}
%%%%%
\setstretch{2}
%%%%%%%%%%%
\begin{document}
\pagenumbering{arabic}
\setcounter{page}{1}
%Chapter 1
\chapter{\MakeUppercase{INTRODUCTION}}
\section{Background of study}
Associating a group with a graph and finding relationships between them is
an area of research that has generated much interest. Research on this
subject aims at investigating relationships between groups and graphs and at
exploring applications of one to the other.
\newpage
The main contributions of this work
\end{document}**