Page Layoutlong abstract

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mayak
Posts: 4
Joined: Tue Mar 13, 2012 5:42 pm

long abstract

Post by mayak »

Hi all,

I'm new at latex and I'm writing my thesis with it (using report class). My abstract is very long (5 pages) due to the requirments. As a result, my output looks very funny - an empty page with the word "abstract" written in the buttom and then the long abstrct which isn't numbered. The first page after the abstract is numbered 2. Why? How can I fix all of that?
Here is the code:

Code: Select all

\documentclass[12pt, a4paper, twoside]{report}
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{{figures//}}
\usepackage{setspace}
\onehalfspacing
\setlength{\parindent}{1cm}
\usepackage{indentfirst}
\usepackage[top=2.54cm, bottom=2.54cm, left=2.54cm, right=2.54cm, nohead]{geometry}
\usepackage[normalem]{ulem}
\allowdisplaybreaks[3]

\begin{document}


\input{./title.tex}
\input{./first.tex}
\input{./second.tex}
\input{./thanks.tex}

\begin{abstract}
\thispagestyle{empty}
very long text
\end{abstract}
Can anyone please help me?

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

long abstract

Post by Stefan Kottwitz »

Hi Mayak,

welcome to the board!

It depends on which result you desire. Perhaps just don't use \begin{abstract} ... \end{abstract}, but \chapter*{Abstract} instead, for a long abstract.

If you would like to suppress page numbering, add

Code: Select all

\pagestyle{empty}
besides \thispagestyle{empty}.

Stefan
LaTeX.org admin
mayak
Posts: 4
Joined: Tue Mar 13, 2012 5:42 pm

Re: long abstract

Post by mayak »

Hi Stefan,

Thanks a lot for the response. It worked!!! One question, though, the title "abstract" is now at the left side. How do I put it in the middle?

Thanks.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

long abstract

Post by Stefan Kottwitz »

If all other headings are on the left side, I would not put some heading into the middle. If you really need it, you could use

Code: Select all

\begin{center}
  \Large\bfseries% or any other size
  Abstract
\end{center}
or

Code: Select all

{\centering\Large\bfseries Abstract

}

Stefan
LaTeX.org admin
mayak
Posts: 4
Joined: Tue Mar 13, 2012 5:42 pm

Re: long abstract

Post by mayak »

Thanks a lot!!! Now it looks exactly like I want it to.
Post Reply