Consider the code
\documentclass{article}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{lipsum}
\parindent 10pt
\begin{document}
\thispagestyle{empty}
\lipsum[3]
\begin{mdframed}[hidealllines=true,backgroundcolor=red!20,innerleftmargin=1.5pt,innerrightmargin=1.5pt,leftmargin=-1.5pt,rightmargin=-1.5pt]
\lipsum[13]
\end{mdframed}
\end{document}
which produces the output
Though I have specified \parindent 10pt
, the colorized (margin adjusted) paragraph is not indented. I suppose that this should not come as a surprise; however, I have not been able to figure out an efficient way to have such paragraphs indented. Placing \hskip 10pt
immediately prior to \lipsum[13]
works---but I don't want to have to do this multiple times throughout an actual document.
QUESTION: How may I specify in the code that a paragraph which immediately follows \begin{mdframed}[hidealllines=true,backgroundcolor=red!20,innerleftmargin=1.5pt,innerrightmargin=1.5pt,leftmargin=-1.5pt,rightmargin=-1.5pt]
should be indented, say 10pt?
Thank you.