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}
Johannes_B
  • 24,235
  • 10
  • 93
  • 248
CS Kumar
  • 1,253

1 Answers1

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

CS Kumar
  • 1,253