![标题与页眉不同,仅限第一页](https://linux22.com/image/426663/%E6%A0%87%E9%A2%98%E4%B8%8E%E9%A1%B5%E7%9C%89%E4%B8%8D%E5%90%8C%EF%BC%8C%E4%BB%85%E9%99%90%E7%AC%AC%E4%B8%80%E9%A1%B5.png)
答案1
这只是一个通用方案,您需要根据文档的类型(双面、单面)、标题中表格的大小以及其他具体方面进行修改。
\documentclass{article}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{fancyhdr}
\renewcommand{\headheight}{3cm}
\renewcommand{\headrulewidth}{0pt}
\fancypagestyle{first}{%
\fancyhf{}
\fancyhead[L]{\tabfirst}
}
\fancypagestyle{other}{%
\fancyhf{}
\fancyhead[L]{\vbox{\tabother}}
}
\def\tabfirst{
\begin{tabularx}{\textwidth}{|X|X|X|}
\hline
xxx & xxx & xxx\\\hline
\multirow{3}{3cm}{xxx} & xxx & xxx\\\cline{3-3}
& xxx & xxx\\\cline{3-3}
& xxx & xxx\\\hline
\end{tabularx}}
\def\tabother{
\begin{tabularx}{\textwidth}{|X|X|}
\hline
\multirow{3}{3cm}{xxx} & xxx\\\cline{2-2}
& xxx\\\cline{2-2}
& xxx\\\hline
\end{tabularx}}
\begin{document}
\pagestyle{first}
\section{Heading for the first page}
\clearpage
\pagestyle{other}
\section{Heading for the other pages}
\end{document}