# [OS X TeX] Why does this hang so?

Alain Schremmer schremmer.alain at gmail.com
Thu Oct 22 20:53:41 EDT 2009

I am using code that I don't understand, that I have hacked
extensively by trial and error, and that works beautifully so, I
hasten to say, what follows is not exactly a life and death matter.

When I run the code, I get a totally unwanted hanging indent as in:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Hanging.pdf
Type: application/pdf
Size: 20110 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20091022/48b60d06/attachment.pdf>
-------------- next part --------------

Here is the part of the code that I suspect controls it:

\newcommand{\DoEnumerate}	%
{%begin definition
\bfseries \jobname .1.]%
\foreachproblem%
{%begin for each problem
\item%
\label%
{%
prob:\thisproblemlabel%
}%
\thisproblem%
}%end for each problem
\end{enumerate}
}%end definition

But no matter where I stick \parindent{-20mm}, it either doesn't do
anything but indent "Discussion" or LaTeX grinds to a halt. And have
no idea what else to try.

I realize that this is not precisely a minimal example but wouldn't
even know where to begin to make up one. Still, I would very much
appreciate any hint as to what else to try so as to save a tree or two.

Hopeful regards
--schremmer