如何在每页顶部缩写论文标题

如何在每页顶部缩写论文标题

我的论文标题很长(两行)。LaTeX 在标题页上输出正确,但在后续页面上将整个标题合并为一行,就像一种自动标题,会渗入页边距。我使用什么命令来包含缩写标题(即冒号之前的部分)?

例如:如果主标题是

This is the first half of my title: this is the second half followed by a colon.

后续页面的自动标题应为

This is the first half of my title.

我正在使用\documentclass[11pt]{amsart}。我还用 和 替换amsartamsprocamsbook三种情况的结果相同。我该怎么办?

平均能量损失

\documentclass[twoside,onecolumn,11pt,reqno, a4paper]{amsart} 
\usepackage{amsmath} 
\usepackage{amsthm} 
\usepackage{amssymb} 
\usepackage{mathrsfs} 
\usepackage{graphicx} 
\usepackage{microtype} 
\usepackage[color]{showkeys} 
\usepackage{mathptmx} 
\usepackage[T1]{fontenc}

\title{Super Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Title}

\begin{document} 
\cleardoublepage 
\tableofcontents 
\cleardoublepage 
\maketitle 
\begin{abstract} 
\end{abstract} 
\pagenumbering{arabic} 
\setcounter{page}{1} 
\section{Introduction} 
\section{Two} 
\subsection{Subsection} 
\subsection{Subsection} 
\subsection{Subsection} 
\subsection{Subsection} 
\section{Three} 
\subsection{Subsection} 
\subsection{Subsection} 
\subsection{Subsection} 
\subsection{Subsection} 
\begin{thebibliography}{3} 
\end{thebibliography} 
\end{document}

答案1

\shortitle按如下方式添加新命令:

\documentclass[twoside,onecolumn,11pt,reqno, a4paper]{amsart} 

\usepackage{fancyhdr}
\usepackage{lipsum}% dummy text 

\newcommand\shortitle{This is the first half of my title}

\title{\MakeUppercase{\shortitle}: this is the second half followed by a colon.}

\fancyhf{}
\fancyhead[C]{\shortitle.}
\pagestyle{fancy}

\begin{document}
\maketitle
\lipsum[1-20]
\end{document}

相关内容