How can I add left space to a block of text? (see the attempts and pictures below)
I can think of two ways:
minipage
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\noindent
\hspace{2em}%
\begin{minipage}{0.95\textwidth}
\lipsum[2-3]
\end{minipage}
\end{document}
Three problems:
- I cannot use another minipage within that minipage (which I need in my usecase)
- Indentation and paragraph spacing seem to change
- What to pass as the width optional argument?
enumitem
Using itemize
with the enumitem
options:
\documentclass{article}
\usepackage{lipsum}
\usepackage{enumitem} % needed!
\begin{document}
\lipsum[1]
\begin{itemize}[label={},leftmargin=2em]
\item \lipsum[2-3]
\end{itemize}
\end{document}
It loses indentation and the paragraph spacing is a little different than the rest, but looks like much better:
Anyhow, any other suggestion?
(Duplicate of: How can I change the margins for only part of the text?)
adjustwidth
is what you look for, you can also search (google) forchangemargin
environment. Now, the fact that the question is duplicate does not mean it's not good.