I have started to use book.cls
instead of llncs.cls
.
I have copied the content of book.cls
from here.
For some reason, the pdf output has the even pages aligned to the right while the odd pages are (correctly) aligned to the left.
See the following zoomed-out pdf for example:
in this example the first page on the image is an even page so it is aligned to the right. I would like all pages to be aligned as in the second page (which has odd number).
I have the following before \begin{documnet}
:
\let\oldvec\vec
\documentclass[ruled,vlined,linesnumbered,commentsnumbered]{book}
\let\vec\oldvec
\usepackage[ruled,vlined,linesnumbered,commentsnumbered]{algorithm2e}
\usepackage{amsmath,amssymb,amsfonts,amsthm}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{tocloft}
\usepackage{etoolbox}
\patchcmd{\thebibliography}{\chapter*}{\section*}{}{}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\cfttoctitlefont}{\large\bfseries}
\setlength{\cftsecindent}{0em}
\setlength\cftaftertoctitleskip{8pt}
\setlength{\cftbeforetoctitleskip}{-3em}
\renewcommand\cftloftitlefont{\large\bfseries}
\setlength{\cftafterloftitleskip}{1\baselineskip}
\setlength{\cftfigindent}{0pt}
\pagestyle{plain}
\pagenumbering{arabic}
\newcommand {\ignore} [1] {}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{remark}{Remark}
\newtheorem{definition}{Definition}
What could be the reason and how can I fix this problem ?
book
class outer margins are wider than inner margins. That's perfectly normal (and a FAQ).book.cls
is using a two-sided layout, you can disable this by using theoneside
class option.