我需要帮助,我正在写论文,我无法消除“首页”中的页码。以下是代码:
\documentclass[a4paper,12pt,operight,oneside]{book}
\usepackage[a4paper,top=3cm,bottom=3cm,left=3.5cm,right=2cm]{geometry}
\usepackage{graphicx}
\begin{document}
%titlepage
\thispagestyle{empty}
\begin{center}
\begin{minipage}{0.8\linewidth}
\centering
%University logo
\includegraphics[width=0.8\linewidth]{UNIGE}
\vspace{3cm}
%Thesis title
{\uppercase{\LARGE Tecniche di monitoraggio termoeconomiche per impianti a vapore di piccola taglia\par}}
\vspace{3cm}
%Author's name
{\Large Tesista: Guglielmo Mantero\par}
{\Large Relatore: Alberto Traverso\par}
{\Large Correlatore: Alessandro Sorce\par}
\vspace{3cm}
%Degree
{\Large Laurea Magistrale in Ingegneria Meccanica: Energia e Aeronautica\par}
\vspace{2.5cm}
%Date
{\Large Dicembre 2015}
\end{minipage}
\end{center}
\clearpage
\begin{center}
\begin{minipage}{0.8\linewidth}
\centering
%University logo
\includegraphics[width=0.8\linewidth]{UNIGE}
\vspace{3cm}
%Thesis title
{\uppercase{\LARGE thermoeconomic monitoring techniques for small sized steam plants \par}}
\vspace{3cm}
%Author's name
{\Large Candidate: Guglielmo Mantero\par}
{\Large Supervisor: Alberto Traverso\par}
{\Large Correlator: Alessandro Sorce\par}
\vspace{3cm}
%Degree
{\Large Master Degree in Mechanical Engineering: Energy and Aeronautics\par}
\vspace{2.5cm}
%Date
{\Large December 2015}
\end{minipage}
\end{center}
\clearpage
\end{document}
我试过了,\thispagestyle{empty}
但不起作用。我总是在右上角看到页码。你能帮忙吗?
答案1
我猜,你的意思是第二页的页码(重复第一个标题页)?
嗯,\thispagestyle{empty}
只适用于一页。只需在之后重复即可\clearpage
(参见<===============
代码)。
代码:
\documentclass[a4paper,12pt,operight,oneside]{book}
\usepackage[a4paper,top=3cm,bottom=3cm,left=3.5cm,right=2cm]{geometry}
\usepackage[demo]{graphicx}
\begin{document}
%titlepage
\thispagestyle{empty}
\begin{center}
\begin{minipage}{0.8\linewidth}
\centering
%University logo
\includegraphics[width=0.8\linewidth]{UNIGE}
\vspace{3cm}
%Thesis title
{\uppercase{\LARGE Tecniche di monitoraggio termoeconomiche per impianti a vapore di piccola taglia\par}}
\vspace{3cm}
%Author's name
{\Large Tesista: Guglielmo Mantero\par}
{\Large Relatore: Alberto Traverso\par}
{\Large Correlatore: Alessandro Sorce\par}
\vspace{3cm}
%Degree
{\Large Laurea Magistrale in Ingegneria Meccanica: Energia e Aeronautica\par}
\vspace{2.5cm}
%Date
{\Large Dicembre 2015}
\end{minipage}
\end{center}
\clearpage
\thispagestyle{empty} % <========================================
\begin{center}
\begin{minipage}{0.8\linewidth}
\centering
%University logo
\includegraphics[width=0.8\linewidth]{UNIGE}
\vspace{3cm}
%Thesis title
{\uppercase{\LARGE thermoeconomic monitoring techniques for small sized steam plants \par}}
\vspace{3cm}
%Author's name
{\Large Candidate: Guglielmo Mantero\par}
{\Large Supervisor: Alberto Traverso\par}
{\Large Correlator: Alessandro Sorce\par}
\vspace{3cm}
%Degree
{\Large Master Degree in Mechanical Engineering: Energy and Aeronautics\par}
\vspace{2.5cm}
%Date
{\Large December 2015}
\end{minipage}
\end{center}
\clearpage
\end{document}
编辑:
我只想添加@barbarabeeton 的评论:“迷你页面没有页码。页码是在放置迷你页面的页面上设置的。”
您可以使用一个或多个单独的小页面,并将它们放在文档的某一页上(当然,如果它们适合页面的话!)。小页面可以有自己的脚注、段落、数组等,但没有浮动或页码……
所以你的问题标题具有误导性。这就是为什么你必须使用\thispagestyle{empty}
你使用的迷你页面之外的内容。