[Tex/LaTex] Indenting part of a paragraph

indentationparagraphs

I'm trying to get this result in LateX. I've looked at a few questions about indenting an entire paragraph but can't find how to keep my abstract label at the margin and then indent the rest of the paragraph next to it. how would I achieve this?

The result I'm trying to acheive

Best Answer

The main thing is to place the "title" into a \makebox to force it to be a certain width. Whether you should tweak a number or solve for it using \settowidth is another issue. One can use the plain TeX \hangindent (which goes away after one paragraph), a \parbox or a minipage. The main difference is that you can't break a page in the middle of a \parbox or minipage.

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\parskip=\baselineskip
\noindent\rule{\textwidth}{1pt}

\hangindent=.8in
\hangafter=1
\noindent\makebox[.8in][l]{Abstract:}\lipsum[1]

\noindent\makebox[.8in][l]{Abstract:}%
\begin{minipage}[t]{\dimexpr \textwidth-.8in}
\lipsum[1]
\end{minipage}

\end{document}

hang indent