# How to make a centered, non-bold abstract and section titles

I'm writing a paper on Overleaf, but I have a couple of issues. Firstly, when I use begin{abstract}...\end{abstract} the word 'Abstract' comes up in bold and centered above the text, with only the A in capitals, as shown below.

How can I

1. Make the word Abstract all in capitals
2. Make the word Abstract not in bold
3. Make the word Abstract next to the text, eg like in this paper

Please note; I don't necessarily want to change all these things all at once, I'd like to be able to change them one at a time preferably.

Secondly, I'd like to make similar chapters and sections titles eg to the ones in the aforementioned paper. I am currently using \begin{section]...\end{section} but the section titles come out in bold and are on the left of the page; I'd like each new section title to be like the ones in the aforementioned article; ie centered and not in bold (as well as in capitals hopefully), while still above the text.

This is my preamble: \documentclass[12pt, letterpaper]{article} \usepackage[utf8]{inputenc} \usepackage{amssymb,amsmath,amsthm}

• You might be interested in the abstract package, which has a runin option. Dec 25 '20 at 13:37
• @Bernard thanks, what is a runin option? Dec 25 '20 at 13:38
• For sections, it means the main text starts on the same line as the section title. I didn't test it with abstract, but I suppose it has the same meaning. Dec 25 '20 at 13:41
• You should add \usepackage[runin]{abstract}. This won't change your section titles. Dec 25 '20 at 13:48
• MWE is the acronym of Minimal Working Example. Dec 25 '20 at 13:49

Here is how to obtain what you want for section titles. I used the titlecaps package to have the first letter of each (significant) word capitalised, which looks better with small caps, in my opinion, and the § symbol before the section number. Of course, you just have to remove it from the code if you don't like it.

 \documentclass[12pt, letterpaper]{article}
\usepackage{erewhon}
\usepackage{amssymb,amsmath,amsthm}
\usepackage[runin]{abstract}
\usepackage{titlesec}
\usepackage{titlecaps}
\usepackage{lipsum}
\renewcommand{\abstractname}{\normalfont\scshape{Abstract}.}

\begin{document}

\title{A Paper} \author{Me } \date{Today} \maketitle
\titleformat{\section}[block]{\filcenter\scshape}{\S\,\thesection.}{0.5em}{\titlecap}
\section{First Section}
\lipsum[11]

\end{document}


• Thanks so much, that's great! Is there any way to make the font the same as in my screenshot and the other answer? Dec 28 '20 at 13:48
• I suppose you used the default.Just remove \usepackage{erewhon} (erewhon is a Adobe Utopia clone, with true smallcaps, superior figures, &c.) Dec 28 '20 at 13:54
• Brilliant, thanks. Is there any way I can just remove the § symbol while keeping the first letter of each signifiacnt word capitalised? Dec 29 '20 at 10:05
• Yes – it was only a suggestion. Remove the corresponding code, namely \S\, in the third argument. Dec 29 '20 at 10:13
• Thank you so much, I really appreciate you putting so much time into helping me! Dec 29 '20 at 11:16

Hope this may helps you:

\documentclass[12pt, letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath,amsthm}
\usepackage[runin]{abstract}
\begin{document}

\renewcommand{\abstractname}{\normalfont\scshape{Abstract}.}

\title{Title}

\author{Author}

\maketitle

\begin{abstract}
This is for test
\end{abstract}

\end{document}


Output

• I;m sorry to be annying, but that still isn't next the text , although it is an improvement, thanks:( I really like the setout of the paper I provided a link for; do you know how I could make an abstract format like that? Dec 25 '20 at 14:03
• Check the updated answer... I've just followed Bernard` suggestion...so credit to him... Dec 25 '20 at 14:18
• Thanks so much, that works brilliantly! Have you any idea how I can change the section titles as I've detailed above? Dec 26 '20 at 20:41