I have the following two issues. For a university paper, I'd like to realign the abstract to fit with the rest of the page as well as putting the abstract title ("Abstract") on the same level as the text.
2 Answers
It makes sense to redefine the abstract
environment:
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum} % just for the example
\renewenvironment{abstract}
{\par\noindent\textbf{\abstractname.}\ \ignorespaces}
{\par\medskip}
\begin{document}
\begin{multicols}{2}
\begin{abstract}
Some text for the abstract, let's make sure it
goes on two or more lines.
\end{abstract}
\section{Introduction}
\lipsum[2]
\section{Another}
\lipsum
\end{multicols}
\end{document}
Instead of typing
\begin{abstract}
Errors in gene expression are quite common \dots
\end{abstract}
type
\subsection*{Abstract}
Errors in gene expression are quite common \dots
-
Thanks a lot, that wokred very well. As a follow up question: What is my abstraction of subsection of? Why not \section?– JasonDec 6, 2015 at 17:39
-
@Jason - Actually, this was just an (ill-?)informed guess on my part. The command
\section
uses the relative font size\Large
, whereas\subsection
uses\large
, which is 20% smaller than\Large
but also 20% larger than\normalsize
. (The centered "Abstract" header produced by theabstract
environment uses\normalsize
.) If you want the\Large
size for theAbstract
header line, you should definitely write\section*{Abstract}
.– MicoDec 6, 2015 at 17:50 -
To come back to the second part of my inital question, is there a way to display the titel on the same level as the rest of the text and not above it?– JasonDec 6, 2015 at 18:38
-
@Jason - Sorry, I hadn't understood earlier what was meant by "same level" -- there's a vertical and a horizontal dimension to consider, right? Anyway, to have the title be in run-in format, use
\paragraph*{Abstract} ...
.– MicoDec 6, 2015 at 20:48