AMSART:在第一页的上边缘添加三行注释(页眉)

AMSART:在第一页的上边缘添加三行注释(页眉)

我想在第一的中的文档页面amsart。我该如何操作?


作为参考,这是该文档的基本结构:

\documentclass[10pt]{amsart}

\usepackage{amssymb}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{xcolor}

\usepackage[margin=30mm]{geometry}
\setlength{\headsep}{10mm}
\setlength{\skip\footins}{7mm}

\begin{document}
\title[Short Title]{Long Title}
\author[Surname]{Name Surname}
\address{University}
\email{[email protected]}
\author[Surname2]{Name2 Surname2}
\address{University2}
\email{[email protected]}
\date{14/09/2015}

\maketitle

\end{document}

答案1

我在两个不同的地方放了三行注释:页面右上角和文本区域。您可以决定要放哪一个。

\documentclass[10pt]{amsart}

\usepackage{amssymb}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{tikzpagenodes}

\usepackage[margin=30mm]{geometry}
\setlength{\headsep}{10mm}
\setlength{\skip\footins}{7mm}

\begin{document}
\title[Short Title]{Long Title}
\author[Surname]{Name Surname}
\address{University}
\email{[email protected]}
\author[Surname2]{Name2 Surname2}
\address{University2}
\email{[email protected]}
\date{14/09/2015}

\maketitle

\begin{tikzpicture}[remember picture,overlay]
 \node[anchor=north east] at (current page.north east) {\parbox{3in}{\flushright Her name was Lola\\She was a showgirl\\With yellow feathers in her hair}};
 \node[anchor=north east] at (current page text area.north east) {\parbox{3in}{\flushright Her name was Lola\\She was a showgirl\\With yellow feathers in her hair}};
\end{tikzpicture}


\end{document}

在此处输入图片描述

编辑:(根据请求)

\documentclass[10pt]{amsart}

\usepackage{amssymb}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{tikzpagenodes}

\usepackage[margin=30mm]{geometry}
\setlength{\headsep}{10mm}
\setlength{\skip\footins}{7mm}

\begin{document}
\title[Short Title]{Long Title}
\author[Surname]{Name Surname}
\address{University}
\email{[email protected]}
\author[Surname2]{Name2 Surname2}
\address{University2}
\email{[email protected]}
\date{14/09/2015}

\maketitle

\begin{tikzpicture}[remember picture,overlay]
 \node[anchor=south east] at (current page header area.north east) {\parbox{3in}{\flushright Her name was Lola\\She was a showgirl\\With yellow feathers in her hair}};
\end{tikzpicture}


\end{document}

相关内容