[Tex/LaTex] make apa6 \maketitle not print an abstract

abstractapa6titles

\documentclass[man]{apa6}

\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{apacite}

% PAPER SPECIFIC
\title{Example Paper}
\author{C.J. Steele}
\affiliation{University of LaTeX}
\abstract{Sample abstract of the paper}
\shorttitle{Example Paper}
\begin{document}

\maketitle

%%%

Fill out this part here, this is your paper

%%%

\end{document}

Based off of the sample, I'm looking for an option that would allow me to forgo printing the Abstract with \maketitle. (i.e. I have a professor asking that I not include an abstract.)

I'm a LaTeX newb, but I did google and search these forums. I found one question here but it was closed because no one was sure what was being asked. I've tried to avoid the pitfalls of that question, so please be gentle. ;-P

Best Answer

Add \renewcommand{\abstract}[1]{} to your preamble. (The original definition is \long\def\abstract#1{\long\def\@abstract{#1}}, and the code snippets that are responsible for typesetting the abstract do so only if \@abstract is defined.)

(Note: I'm assuming that you're not concerned about warnings, but want some kind of "noprint" option without actually having to delete the \abstract content.)

\documentclass[man]{apa6}

\renewcommand{\abstract}[1]{}

\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{apacite}

% PAPER SPECIFIC
\title{Example Paper}
\author{C.J. Steele}
\affiliation{University of LaTeX}
\abstract{Sample abstract of the paper}
\shorttitle{Example Paper}
\begin{document}

\maketitle

%%%

Fill out this part here, this is your paper

%%%

\end{document}
Related Question