I am having trouble with indenting. I would like a non-indented paragraph to be followed by an indented multi-line example. That example should have a hanging indent. I've tried using the hanging
package, with no success. Here is an MWE:
\documentclass[letterpaper,12pt,titlepage,openright,twoside,final]{book}
\begin{document}
\noindent Words are here, and they form a paragraph. Words are here, and they form a paragraph. Words are here, and they form a paragraph. Words are here, and they form a paragraph. Words are here, and they form a paragraph. \\
{\textbf{Example}}: Suppose this is an example. I would like the example to be indented (yay, it is!), and I would like the text on the next line of the example to line up with the letter ``S" in ``Suppose" at the beginning of the first sentence in the example. \\
\noindent Words are here, and they form a paragraph. Words are here, and they form a paragraph. Words are here, and they form a paragraph. Words are here, and they form a paragraph. Words are here, and they form a paragraph.
\end{document}
Best Answer
You can use a
description
list:If you also want to indent the entire Example block you can use
labelindent
. For instance, withyou get:
Code: