21 votes
Accepted

Abstract and title together on the first page of an article

As explained earlier, the titlepage class option uses the titlepage environment to typeset title (\maketitle) and abstract (abstract-environment), which leads to a new page being issued. Using package ...
Johannes_B's user avatar
  • 24.2k
11 votes

How can I add abstract to table of contents

As abstract is neither a chapter nor a section so for abstract you should use \begin{abstract}....\end{abstract} as shown below: \begin{abstract} \addcontentsline{toc}{chapter}{abstract} ...
Taimoor Changaiz's user avatar
11 votes
Accepted

Difference between using `\abstract` and the `abstract` environment?

Simplifying, \begin{foo} does four things: check that the environment foo (more exactly the macro \foo) exists; open a group (\begingroup); set the name of the current environment (\@currenvir) to ...
campa's user avatar
  • 30.8k
8 votes

Abstract not showing up, even when using \maketitle

You need to define the components associated with a title in order to properly use \maketitle. Once that's done, the abstract will set with the rest of the title components: \documentclass{amsart} \...
Werner's user avatar
  • 601k
8 votes
Accepted

Abstract come before title after `\maketitle`, how to correct

In the article class, \author and \title are commands that save their arguments and do not typeset anything, the typesetting is done by \maketitle, however abstract is a conventional typesetting ...
David Carlisle's user avatar
8 votes

\paragraph breaks with “Something's wrong--perhaps a missing \item.”

Abstract uses internally a list (quotation) to change the margins. Lists have a switch which lets them detect if a list has just started (it is reset at the begin of the first paragraph). The problem ...
Ulrike Fischer's user avatar
8 votes
Accepted

LaTeX template for math articles on arXiv

I would like to strongly recommend you employ the amsart document class. \documentclass{amsart} \usepackage[T1]{fontenc} \newtheorem{theorem}[subsection]{Theorem} \title{Perelman's proof of the ...
Mico's user avatar
  • 502k
7 votes

Figure caption wider than surrounding text block

(edited this answer after the OP revealed some previously missing information) If you want to write the Abstract using the directive \abstract{Lorem ipsum dolor sit amet...} you must terminate ...
Mico's user avatar
  • 502k
7 votes
Accepted

Automatic export of abstract to separate text file

You must to maintain the \abstractdefs macro where special definitions are in order to expand to the desired output. The example below shows what you need to insert to the \abstractdefs in order to ...
wipet's user avatar
  • 73.3k
6 votes

Problem with the abstract in a IEEE conference document class

The IEEEtran documentclass follows the IEEE style definitions very, very, very closely... Luckily, everything is well documented in the IEEEtran-HOWTO.pdf document, which is supplied together with the ...
hbaderts's user avatar
  • 3,870
6 votes
Accepted

How to make wlscirep suppress abstract?

The document class you are using requires an abstract, and doesn't include an option to not print an abstract at all. So you have to go into the code of the class, find where the abstract is printed ...
Tiuri's user avatar
  • 7,729
6 votes
Accepted

Lines above and below the abstract

The simplest approach is to redefine the abstract environment: \documentclass{article} \usepackage[ paperwidth=7.25in, paperheight=9.5in, bindingoffset=.75in, heightrounded, ]{geometry} \...
egreg's user avatar
  • 1.1m
6 votes
Accepted

cas-sc class does not print author list, affiliations, abstract and keywords

First, the class implicitly requires you to load natbib, otherwise you get an error: ! Undefined control sequence. \@begindocumenthook ...\@afterindentfalse \bibsep ...
Phelype Oleinik's user avatar
6 votes
Accepted

How to put the abstract on the same page as the table of contents

\tableofcontents automatically adds a \clearpage command. To remove this, replace it with {\let\clearpage\relax \tableofcontents} MWE: \documentclass[notitlepage]{report} \begin{document} \section*{...
cktai's user avatar
  • 813
5 votes
Accepted

How to change the font size of the abstract in KOMA-script?

Unfortunaly there is no MWE in your question. So I can only guess what you are doing. \documentclass{scrartcl} %\documentclass{scrreprt} %\documentclass[abstract]{scrreprt} \usepackage{lipsum} \...
esdd's user avatar
  • 85.3k
5 votes
Accepted

Single acronym not being displayed in glossary

To summarise the comments, the original problem (using @gobble as a page style) stems from makeindex not excepting a blank location. Using an empty page style to suppress the page numbering instead ...
Nicola Talbot's user avatar
5 votes

Insert a section before Introduction in an article

You could simply use abstract environment twice, giving each abstract a different name \begin{document} \renewcommand{\abstractname}{Motivation} \begin{abstract} Some motivational text here \end{...
Elad Den's user avatar
  • 3,921
5 votes
Accepted

How to abstract formulas (or graphic objects) in LaTeX

The entire tex language is based on macro expansion replacing commands by their definitions as you describe. Just make a file, say mycommands.sty that has \RequirePackage{tikz} \newcommand\cube{\...
David Carlisle's user avatar
5 votes
Accepted

Text not bold in IEEEtran paper (LuaLaTeX / Debian Linux)

You can revert to a setup that's mostly similar to pdflatex with two additions: \renewcommand{\encodingdefault}{OT1} \documentclass[conference,a4paper]{IEEEtran} \usepackage[utf8]{luainputenc} \...
egreg's user avatar
  • 1.1m
4 votes
Accepted

Abstract title space

This space is governed by the length \abstitleskip if you don't use the runin package option. Adjust it in your preamble to suit your needs, for example \setlength{\abstitleskip}{-20pt} will bring ...
Werner's user avatar
  • 601k
4 votes
Accepted

Problems with creating abstract in custom class

You have some errors in your code: unmatched braces are the main one. Secondly, \hfill\\ is a don't-do-it; after \noindent you need \ignorespaces. And finally you have a load of unprotected end-of-...
egreg's user avatar
  • 1.1m
4 votes

An 'abstract' at the start of every chapter?

Abstract at the beginning of the chapter can be inserted using "quote environment". To avoid repetition of the commands at the beginning of each chapter, a "\newcommand" ...
Sanjay Remanan's user avatar
4 votes

Inserting abstract into book document

You can use the abstract package, which contains \renewenvironment{abstract} and its own implementation. But since this environment is not defined in book, we should define it first: \newenvironment{...
Mateen Ulhaq's user avatar
4 votes

Inserting abstract into book document

I would solve it in this way: \documentclass{book} \usepackage{lipsum} % Reduce the margin of the summary: \def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]} \let\endchangemargin=\...
Lord AX's user avatar
  • 51
4 votes
Accepted

Résumé instead of Abstract in ociamthesis (Oxford)

I assume the document class is the one downloadable at: https://www.maths.ox.ac.uk/members/it/faqs/latex/thesis-class The problem is that the environment abstract is (re)defined by the class to be: ...
karlkoeller's user avatar
4 votes
Accepted

renewcommand not working after using jmlr2e

jmlr2e doesn't use \abstractname. Instead, it hard-codes the name: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % A B S T R A C T %%%%%%%%%...
Werner's user avatar
  • 601k
4 votes
Accepted

Abstract colored background with frame lines

The mdframed package gives you slightly more options to customize with. For example: \documentclass[oneside,onecolumn,9pt]{extarticle} \usepackage[T1]{fontenc} %Encoding \usepackage[english]{babel} %...
Troy's user avatar
  • 13.7k

Only top scored, non community-wiki answers of a minimum length are eligible