Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In machine-generated LaTeX that produces endnotes in memoir, I put (generate) each paragraph inside an adjustwidth environment to get the paragraph indented 26pts to line up with something else. Works fine, but I also want the first line of each of these paragraphs indented (additionally) by whatever the normal paragraph indent is. None of the crazy ideas I've tried, like:

\begin{adjustwidth}{26pt}{0pt}\par\setlength{\parindent}{1cm}\indent ...

produces success. Seems like the adjustwidth environment really doesn't want to indent that first paragraph (or my general LaTeX knowledge is too weak). Any ideas where I'm going wrong or what else I might try?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

The easiest way to obtain your paragraph indent is to merely use \hspace{\parindent}:

enter image description here

\documentclass{memoir}% http://ctan.org/pkg/memoir
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\lipsum[1]

\begin{adjustwidth}{26pt}{0pt}
\hspace{\parindent}\lipsum[2-3]
\end{adjustwidth}

\lipsum[4]
\end{document}
share|improve this answer
    
Works perfectly -- thank you so much! –  user212264 Nov 26 '11 at 6:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.