I want to redefine my abstract environment in the article class so that it starts with boldfaced Abstract followed by a dot and then the text. However, whenever I put the dot after \abstractname, it creates a large amount of horizontal space after it. Without the dot, it is fine. The problem persists even without boldfacing.
MWE for example where spacing is fine:
\documentclass{article}
\renewenvironment{abstract}{%
\small
\quotation
\abstractname
}
{\endquotation}
\author{Example Man}
\title{Minimal}
\begin{document}
\maketitle
\begin{abstract}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc justo libero, elementum id lobortis in, suscipit ultrices ex. Praesent efficitur suscipit metus at iaculis. Sed ac odio nec turpis eleifend accumsan ac ac ante.
\end{abstract}
Phasellus viverra ipsum in leo rhoncus luctus. Mauris tempor nisl non leo iaculis sagittis.
\end{document}
MWE for example where spacing is ruined:
\documentclass{article}
\renewenvironment{abstract}{%
\small
\quotation
\abstractname.
}
{\endquotation}
\author{Example Man}
\title{Minimal}
\begin{document}
\maketitle
\begin{abstract}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc justo libero, elementum id lobortis in, suscipit ultrices ex. Praesent efficitur suscipit metus at iaculis. Sed ac odio nec turpis eleifend accumsan ac ac ante.
\end{abstract}
Phasellus viverra ipsum in leo rhoncus luctus. Mauris tempor nisl non leo iaculis sagittis.
\end{document}
The desired end code would also have {\bfseries\abstractname.} or \textbf{\abstractname.}, but as I see, they are not the ones introducing the problem.

\abstractname.%. – TeXnician Sep 08 '18 at 07:42