1

I would like to define the abstract before the \maketitle command but the abstract is printed on separate page. I am using basic article class file.

The below mentioned coding i am using in tex file.

\title{Hormonal crosstalk for root development: a combined experimental and modeling perspective}
\author[1]{Junli Liu}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\begin{abstract}
Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment.
\end{abstract}
\maketitle

I am designing the template maketitle command the below mentioned way:

    \def\@maketitle{%
  \newpage
  \null
  \vskip 2em%
\begin{minipage}[b]{10pc}
{\@editor\par}
    \vskip 1.5em%
{\@reviewer\par}
\end{minipage}
\hspace*{12pt}
\begin{minipage}[b]{31pc}  \begin{raggedleft}%
  \let \footnote \thanks
    {\raggedright\fontsize{18pt}{20pt}\selectfont\@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{l}%
        \raggedright\@author
      \end{tabular}\par}%
    \vskip 1em%
%    {\large \@date}%
  \end{raggedleft}
   \end{minipage}%
  \par
  \vskip 8.5em}
  • 1
    There seems to be no reference to the abstract in your current \maketitle command. As such, I'm assume it will help if you follow the directions in \maketitle text before title. – Werner Nov 30 '14 at 17:50
  • Don't say \newpage? – cfr Nov 30 '14 at 18:00
  • Why would you put it before \maketitle? – egreg Nov 30 '14 at 19:07
  • I would like to design all the front matter elements like title, author names, author affiliation, editor and reviewer details, keywords to be print \maketitle command. But I don't know how to print the "abstract default code - \begin{abstract} \end{abstract}" above mentioned logic. If you have any ideas kindly advise. – Vetri Dec 11 '14 at 16:50
  • Are there any news here? – Johannes_B Oct 7 '15 at 10:47
1

If you configure the abstract environment inside the \maketitle command use the box concepts. It is easy to print the environments inside the \maketitle.

Here is the solution:

\documentclass{article}

\usepackage{authblk}

\makeatletter

\newbox\@abstract%
\def\abstitle{\textbf{Abstract}}%
\renewenvironment{abstract}{%
   \setlength{\parskip}{6pt}%
   \setlength{\parindent}{\z@}%
   \global\setbox\@abstract\vbox\bgroup%
   \noindent\ignorespaces%
}{%
   \egroup%
}%

\def\@maketitle{%
  \newpage
  \null
  \let \footnote \thanks
    {\raggedright\fontsize{18pt}{20pt}\selectfont \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{l}%
        \raggedright \@author %
      \end{tabular}\par}%
      \raggedright\abstitle\par
      \vskip 1em
    {\unvbox\@abstract\par}%
    \par
  \vskip 8.5em}
\makeatother



\begin{document}

\title{Hormonal crosstalk for root development: a combined experimental and modeling perspective}
\author[1]{Junli Liu}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\begin{abstract}
Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment.
\end{abstract}
\maketitle

\end{document}

Output:

enter image description here

  • Now i understood the question and changed it accordingly. It was quite unclear, looking back. – Johannes_B Oct 11 '15 at 13:33
  • Nevermind, you get +1 – Johannes_B Oct 11 '15 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.