# Title format is going beyond the pages

I am writing a short note with a title at the top in LaTeX. While it appears in the page, it goes beyond the top of the pages. Can you please inform me how to control (some command) so that the title will not go beyond the page.

The code:

\documentclass[reqno]{amsart}
\usepackage{hyperref}
\usepackage{amssymb}

\begin{document}

\title{\hfilneg \hfilneg \small{A note on the surjectivity of a class of weighted operator with the Muckenhoupt class Ap for p between one and infinity}}

\end{document}

• Welcome to TeX SX! Could you please post a minimal example reproducing the problem? – Bernard Oct 23 '18 at 21:37
• please wait for a minute. – Mathlover Oct 23 '18 at 21:40
• \documentclass[reqno]{amsart} \usepackage{hyperref} \usepackage{amssymb} \begin{document} \title{\hfilneg \hfilneg \small{A note on the surjectivity of a class of weighted operator with the Muckenhoupt class Ap for p between one and infinity}} – Mathlover Oct 23 '18 at 21:42
• at the end there will be \end{document} – Mathlover Oct 23 '18 at 21:43
• @Bernard I see. How about \title[short title]{long title}? – Fran Oct 23 '18 at 22:23

Use a short title version in the optional argument of \title. MWE:
\documentclass[reqno]{amsart}
\title[Muckenhoupt weights $Ap$ between 0 and $\infty$]{A note