Theses, Books, Title pagesHow to make each chapter has its own abstract

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How to make each chapter has its own abstract

Post by templateuser »

Hi there,

I am compiling a Thesis by Publication, therefore I need to have an abstract for some Chapters (those that will present published journal work).

How can I do that?


Cheers,
Chris

Recommended reading 2024:

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

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

User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

How to make each chapter has its own abstract

Post by Vel »

Hi Chris,

You can add as many abstracts as you like by simply copy/pasting the abstract code from the beginning and pasting it after each of your included chapters. Here's an example using the template:

Code: Select all

\input{Chapters/Chapter1}

\addtotoc{Abstract2} % Add the "Abstract" page entry to the Contents

\abstract{\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
\thispagestyle{empty}
The Tfsdfkjsdhiufhsdkufgifdlhgilu lifudhlgiudfh iulgdhi lhfgdh\ldots
}

\clearpage % Start a new page

\input{Chapters/Chapter2}


Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: How to make each chapter has its own abstract

Post by templateuser »

Thanks Vel.

However, what I end up getting now is an abstract page, with the same formatting as the main body of the chapter. Additionally, it is referenced on the TOC as a separate Chapter rather than appearing as a subsection of the relevant Chapter.

Therefore, how can I make the abstract page to be:
An initial, numbered subsection of each Chapter
Categorize it in the TOC as a subsection of the relevant Chapter
Typeset it with smaller fonts and bigger left and right margins (similar to the way a journal abstract is typeset)

Cheers,
Chris
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

How to make each chapter has its own abstract

Post by Vel »

Hey Chris,

If you want a custom abstract type I'd recommend you go into thesis.cls and find the line \newenvironment{abstract}. This block defines how the abstract is printed. If you want to keep the original abstract for the entire thesis while creating a new abstract type for your chapters, just duplicate this block and call it abstract-chapters or something similar. You can then customize this new abstract style as you want.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply