为什么 \vfill 没有将文本放在此页面的底部?

为什么 \vfill 没有将文本放在此页面的底部?

我使用 \vfill 期望最后一页上的所有文本都位于底部。我不明白为什么不是。是因为表格是浮动的还是其他原因。希望这不是一个愚蠢的问题。如果是的话,我会删除它。

\documentclass[a4paper,10pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{amssymb}
\usepackage{color}
\definecolor{Blue}{rgb}{0.0,0.0,0.7}
\definecolor{Red}{rgb}{0.7,0.0,0.0}
\definecolor{Green}{rgb}{0.0,0.5,0.0}
\definecolor{Gray}{gray}{0.85}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\definecolor{White}{rgb}{1,1,1}
\usepackage{hyperref}

\begin{document}

\clearpage
\vfill

{
\begin{table}[ht]
\caption{Change History Rev B and C} % title of Table
%\centering % used for centering table
\begin{tabular}{|| l | l | c | p{8cm} ||} \hline

 \textbf{Name} & \textbf{Revision} & \textbf{Date} & \textbf{Comments}          \\ \hline 
\hline
A.N.Other & PB1 & 16MAR2017 & blah blah \\ \hline
A.N.Other & PB2 & 29MAR2017 & blah blahblah blahblah blahblah blahblah blahblah blahblah blah. \\ \hline
A.N.Other & PB3 & 10MAY2017 & blah blahblah blahblah blahblah blah. \\ \hline 


A.N.Other & PC2 & 17NOV2017 & blah blahblah blahblah blahblah blah temp relationship \\ \hline
\hline
\end{tabular}
\end{table}
}

\tiny
\begin{verbatim}
Stored in dev:/git/example

latex source file is:  dd.tex
with sub directory images_sw_doc/ containing graphics files:

\end{verbatim}

Last Page.

typeset in {\Huge \LaTeX} \today.

\end{document}

答案1

尝试\mbox{ }在之前添加\vfill

相关内容