I have several paragraphs of text in a LaTeX document. In my preamble I have \setlength{\parindent}{0pt}
, but now I have a need to indent a single paragraph for emphasis.
I am wondering if there a more efficient way of doing this than:
This paragraph is not indented.
\setlength{\parindent}{15pt}
Here is my indented paragraph.
\setlength{\parindent}{0pt}
And we're back to no indentation.
I feel as though there should be a simpler way to do this. Had I not changed the length in my preamble the document would by default indent all the paragraphs, but I could turn this off a single paragraph by using \noindent
at the start. Why doesn't \indent
work in the opposite way, and revert that paragraph to the default indentation?
\hspace{15pt}
to give you a “hard” indent in that paragraph.\indent
just inserts an empty box of width\parindent
, so if this is zero nothing is visible. I don't think it's a good idea to use indentation "for emphasis". Either you use it always (with the normal exceptions) or never.