I'm trying to reproduce the horizontal lines that slightly thin out on both ends that are sometimes used, for example, to separate paragraphs or sections of text.
Beside the usual hline, rule and line I've found also found this question where the answers offer lots of nice ways to separate text, but none of the above do quite what I want.
I ended up accomplishing my goal by creating a vector graphic of what I have in mind and just including it, as in the example below. But I can't help to think that there must be a more elegant way to do this.
\documentclass{article}
\usepackage{graphicx}
\begin{document}
Lorem ipsum.
\begin{center}
\includegraphics[width=\textwidth,height=2pt]{hline}
\end{center}
Lorem ipsum
\end{document}
which produces

