页脚和文本似乎有问题

页脚和文本似乎有问题

实例 1 实例 2 实例 3

已经有一段时间了,我注意到在我的报告中的某些页面上,它实际上与页脚重叠。页脚生成得很完美,但某些页面上的文本似乎不规范。有办法解决这个问题吗?

编辑:与分页几乎没有关系,以下截图是我将所有分页规范移至之前时截取的\begin{document} 当分页移动到 \begin{document} 之前时

代码:(请忽略评论)

\documentclass[12pt,a4paper,oneside]{memoir}%Memoir is more versatile than other document classes like article, report, book etc,
\usepackage{xpatch}
\usepackage{graphicx}%to handle image, like scaling
\usepackage{makecell}
\usepackage{times}
\usepackage{ragged2e}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[a4paper,right=1in]{geometry}%used for modifying page layout
\usepackage{hyperref}%for referencing contents,figure,table...
\usepackage{listings}%for including source code
\usepackage{pdfpages}%to attach pdf files
\usepackage{cite}
\usepackage{setspace}
\usepackage{tikzpagenodes}
\usepackage{tikz}
\usepackage{ragged2e}
\usepackage{eso-pic}
\usepackage[figurename=Fig.]{caption}
\usepackage[none]{hyphenat}
\usetikzlibrary{calc}
\xpatchcmd{\chapter}{
    \thispagestyle{chapter}}{
    \thispagestyle{myheadings}
}{}{}
\pagenumbering{roman}


%document starts here
\begin{document}
\sloppy
\newlength{\toptafiddle} 
\newlength{\bottafiddle}
\include{title}%include titlepage,i.e, title.tex file
%Page layout according to VTU specification
%Right=1.25in,left=1in, Top & Bottom 0.75in in each
%Left – 1.25″, Right – 1″, Top and Bottom – 0.75″
\setlength{\oddsidemargin}{0.25in}%left side margin{1in by default+0.25in}

%header specification
\setlength{\headheight}{\onelineskip}
\setlength{\headsep}{6pt}
\setlength{\topmargin}{-0.25in}

%footer specification
\setlength{\footskip}{\onelineskip}
\setlength{\footnotesep}{\onelineskip}

%A4 paper height = 11.69in
%thus 11.69in-9.67in-1in(top+header) is approx 0.75in left for bottom
\setlength{\textheight}{9.67in}

\brokenpenalty=10000% Disallow page breaks at hyphens

\OnehalfSpacing

\include{certificate}
\include{declaration}
\setcounter{page}{1}
\include{abstract}
\pagestyle{plain}
\include{acknowledge}
\setcounter{secnumdepth}{2}%sections numbering upto 2 level.i.e,chapter,section,subsection & any later sections will not be numbered
\renewcommand{\contentsname}{Table of Contents}
\begin{KeepFromToc}
\tableofcontents
\end{KeepFromToc}
\pagebreak
\listoffigures
\pagebreak
%\listoftables 
%\pagebreak
%creating custom header & footer. Look into memoir manual for details
\pagestyle{myheadings}
\makeheadrule{myheadings}{\textwidth}{0.4pt}
\makefootrule{myheadings}{\textwidth}{0.4pt}{\footruleskip}
\makeoddhead{myheadings}{\small{Face Based Biometric Automated Attendance System}}{}{\small{Chapter \thechapter}}
\makeoddfoot{myheadings}{\small{Dept. of CSE, P.A.C.E}}{}{\small{\thepage}}
\pagenumbering{arabic}
%\setcounter{page}{1}
\justifying
\include{introduction}
\include{literaturesurvey}
\include{softwarerequirementanalysis}
\include{systemanalysis}
\include{algorithms}
\include{systemsdesign}
\include{systemimplementation}
\include{softwaretesting}
\include{results}
\include{conclusion}
\include{reference}
\end{document}

答案1

我在 chat.stackexchange.com 上从 @ulrike-fischer 那里得到了这个答案 文档的问题是 footskip 太小。使用\setlength{\footskip}{2\onelineskip}解决了这个问题!

相关内容