![页脚表注释](https://linux22.com/image/402732/%E9%A1%B5%E8%84%9A%E8%A1%A8%E6%B3%A8%E9%87%8A.png)
答案1
借助fancyhdr
自定义页脚, tabularx
使表格宽度与文本宽度相同,lastpage
获取最后一页的页码并xcolor
调整表格的颜色:
\documentclass{article}
\usepackage{fancyhdr}
\usepackage{tabularx}
\usepackage{lastpage}
\usepackage[table]{xcolor}
\definecolor{mylightgray}{RGB}{240,240,240}
\definecolor{mydarkgray}{RGB}{130,130,130}
\usepackage{blindtext} % Ony for example document
\pagestyle{fancy}
\fancyfoot[C]{%
\color{mydarkgray}
\begin{tabularx}{\textwidth}{|c|X|c|}
\hline
\rowcolor{mylightgray}Filename & Description & Pages\\
\hline
DM-TEMPLATE.doxc & \textbf{Report Title} & Page \thepage\ of \pageref{LastPage}\\
\hline
\end{tabularx}%
}
\begin{document}
\blinddocument
\end{document}