Article View: comp.text
Article #6651Re: Paragraph in \itemize
From: Dirk Grunwald
Date: Thu, 04 Jan 1990 20:39
Date: Thu, 04 Jan 1990 20:39
56 lines
1683 bytes
1683 bytes
\parindent, the amount of space preceeding a paragraph indentation,
is reset in a list environment. The output of the following LaTeX
code shows this:
------------------------------
\documentstyle{article}
\begin{document}
the first line
should be another pargraph.
\the\parindent
\begin{itemize}
\item
The first line.
should be another paragraph.
\the\parindent
\end{itemize}
\end{document}
------------------------------
one possible solution is to reset the parindent within the list. A
better solution would be to build a new list environment that doesn't
reset parindent:
\documentstyle{article}
\newenvironment{myitemize}%
{\begin{list}{$\bullet$}{\listparindent=\parindent}}%
{\end{list}}
\begin{document}
the first line
should be another pargraph.
\the\parindent
\begin{itemize}
\item
The first line.
should be another paragraph.
\the\parindent
\end{itemize}
\begin{myitemize}
\item
The first line.
should be another paragraph.
\the\parindent
\end{myitemize}
\end{document}
Technical Details
Message-ID:
<15346@boulder.Colorado.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!ames!ncar!boulder!grunwaldReferences:
<1990Jan4.200857.19580@brutus.cs.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!ames!ncar!boulder!grunwald From: grunwald@foobar.colorado.edu (Dirk Grunwald) Newsgroups: comp.text Subject: Re: Paragraph in \itemize Message-ID: <15346@boulder.Colorado.EDU> Date: 4 Jan 90 20:39:53 GMT References: <1990Jan4.200857.19580@brutus.cs.uiuc.edu> Sender: news@boulder.Colorado.EDU Reply-To: grunwald@foobar.colorado.edu Distribution: comp Organization: University of Colorado at Boulder Lines: 56 In-reply-to: sane@brutus.cs.uiuc.edu's message of 4 Jan 90 20:08:57 GMT