Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have the code:

\maketitle
\begin{abstract}Some text \end{abstract}
\newpage
\section{some section}

But when I comment out \maketitle the document shows \section{some section}, not the abstract nor seem to use the command \newpage because "some section" is displayed on page 1. When uncommenting \maketitle everything is displayed correctly.

How do I properly remove the maketitle and still having the abstract shown?

This example shows the issue (at least for me):

\documentclass[12pt]{amsart}
\title{}
\author{}
\begin{document}

%\maketitle
\begin{abstract}
Abstract
\end{abstract}

\section*{Acknowledgement}
Text 

\end{document}
share|improve this question
    
amsart includes the abstract in the definition of \maketitle, and doesn't assume that the title or author can be empty/nonexistent, so space will always be left for them. since amsart was designed to meet the specs for publication in ams journals, this is appropriate, if a nuisance when something different is wanted. for the described situation, the best approach (other than choosing a different document class) is probably to redefine \maketitle to omit title and author. –  barbara beeton Sep 21 '12 at 21:26
add comment

2 Answers

up vote 8 down vote accepted

Both the abstract environment and the \maketitle command are defined by the document class. So, tell us at least which class you're using. Furthermore, post a small compilable example showing the problem. Here's such a compilable example using your piece of code but without problem, demonstrating that the cause must be somewhere else but not in those lines:

\documentclass{article}
\title{Test}
\author{Anonymous}
\begin{document}
%\maketitle
\begin{abstract}Some text \end{abstract}
\newpage
\section{some section}
\end{document}

Update: in your edited post I can see you're using amsart. Here \maketitle is indeed required to show the abstract. But as a workaround you could use the internal command \@setabstract. Here it's inserted into your example:

\documentclass[12pt]{amsart}
\title{}
\author{}
\begin{document}

%\maketitle
\begin{abstract}
Abstract
\end{abstract}
\makeatletter
\@setabstract
\makeatother
\section*{Acknowledgement}
Text 

\end{document}

The output shows the abstract.

share|improve this answer
add comment

If you clear the \title and \author fields, as you did in your minimal example, you can use \maketitle to output the abstract without any title headings.

share|improve this answer
    
Yes, that is an alternative (I am using it right now) but that trick aligns the abstract a bit too far down the page, I think. –  Loop Aug 9 '10 at 11:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.