I am writing my first mathematical academic paper.
I am using document "article" class with "amsmaths" package. I want the word "Abstract" to actually appear centered in bold on a separate line, with one line extra spacing, above the paragraph containing the abstract itself. How can I do so? I am using \maketitle
with \begin{abstract}
and \end{abstract}
and it works fine to produce the abstract text itself, but the word "abstract" doesn't show in the output pdf file in my current code.
My code:
\documentclass[10pt]{article}
\usepackage{graphicx}
\usepackage{authblk}
\usepackage{amsfonts}
\usepackage{mathtools, cuted}
\usepackage{lipsum, color}
\usepackage[margin=1.8cm]{geometry}
\usepackage{amsthm}
\author{Author}
\affil{Some university}
\affil{\textit {some email}}
\usepackage{appendix}
\renewcommand{\abstractname}{}
\addtolength{\baselineskip}{1.2}
\begin{document}
\title{Some title}
\maketitle
\
\begin{abstract}
Some text here
\end{abstract}
\renewcommand{\abstractname}{}
? Avoid getting preambles from buddies without knowing what each bit does. Also\addtolength{\baselineskip}{1.2}
is wrong.1.2
is no length, you can't add that number to askip
value! Illegal unit of measure (pt inserted).
as an error message each time you run LaTeX sufficient to understand there's something wrong?;-)
Don't disregard compilation errors!