如何让脚注下方的空格消失?以及让脚注栏上方的空格消失?
代码:
\documentclass[12pt,french]{report}
\usepackage{mathptmx}
\usepackage{helvet}
\usepackage{courier}
\usepackage[T1]{fontenc}
\usepackage[cp1250]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,margin=1in,headheight=12pt,headsep=25pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{babel}
\makeatletter
\addto\extrasfrench{%
\providecommand{\og}{\leavevmode\flqq~}%
\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
}
\makeatother
\usepackage{latexsym}
\usepackage{pifont}
\usepackage{color}
\usepackage{float}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage[unicode=true,
bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=false]
{hyperref}
\hypersetup{pdftitle={tito},
pdfauthor={abc},
pdfkeywords={kiko}}
\usepackage{lipsum}
\makeatletter
\usepackage{multicol}
\usepackage{fancyhdr}
\usepackage{multirow}
\usepackage{longtable}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\usepackage{array}
\newcommand{\ts}{\textsuperscript}
\renewcommand\theparagraph{\alph{paragraph}.}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{0.5ex \@plus .2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{2em}}
\def\thickhrulefill{\leavevmode \leaders
\hrule height 1ex \hfill \kern \z@}
\def\@makechapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@
{\reset@font
\usefont{OT1}{phv}{m}{n}
\LARGE Chapitre \thechapter\par\nobreak}%
\par\nobreak
\vspace*{30\p@}
\interlinepenalty\@M
\usefont{OT1}{ptm}{b}{n}
{\raggedright \Huge #1}%
\par\nobreak
\vskip 20\p@
\hrule height 1pt
\par\nobreak
\vskip 45\p@
}}
\def\@makeschapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@
{\raggedleft \reset@font
\scshape \vphantom{\@chapapp{} \thechapter}
\par\nobreak}%
\par\nobreak
\vspace*{30\p@}
\interlinepenalty\@M
\usefont{OT1}{ptm}{b}{n}
{\raggedright \Huge #1}%
\par\nobreak
\par\nobreak
\vskip 45\p@
}}
\lhead{\nouppercase\leftmark}
\chead{}
\rhead{}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\footrulewidth}{0.4pt}
\pretolerance=10000
\hyphenpenalty=10000
\exhyphenpenalty=10000
\AtBeginDocument{
\def\labelitemi{\Pisymbol{psy}{183}}
\def\labelitemii{\(\rhd\)}
\def\labelitemiii{\(\rhd\)}
\def\labelitemiv{\(\ast\)}
}
\makeatother
\begin{document}
\chapter{Chap}
\lipsum[1]\footnote{\lipsum[1]}
\lipsum[1-8]
\end{document}
答案1
为了确保脚注块位于文本块的最底部,您可以在序言中添加以下指令:
\usepackage[bottom]{footmisc}
另一个问题是文本块和页码之间的垂直空白。鉴于您正在使用该geometry
包,只需提供一个较小的值(footskip
当前值为30pt
)即可减少空白量。
答案2
以下是不同垂直参数用法的(扭曲的)演示。\footskip
您必须对其进行修改。请根据您的需要进行调整:
\documentclass[a4paper, twoside, 11pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{kantlipsum}
\pagestyle{plain}
\skip\footins 2cm
\setlength{\footnotesep}{1cm}
\setlength{\footskip}{0pt}
\begin{document}
\kant{2}\footnote{This is a first footnote.}\footnote{This is a rather lengthy footnote. Just above the page number. }
\kant{3}
\end{document}