[OS X TeX] How to interrupt a list?
Alain Schremmer
schremmer.alain at gmail.com
Tue Mar 11 04:09:26 CET 2008
On Mar 10, 2008, at 10:56 PM, Louis Talman wrote:
> I'd like to "interrupt" and enumerated list to typeset a paragraph
> with the same margins as the text surrounding the list, then drop
> back into the list. I'd rather not have to redefine the counters
> every time I do this. Is there a way to override the margins set
> by the list structure and then return to them?
I am not sure if this is what you want but somebody on this list
(can't remember who) once made up the following for me which works
just like \intertext
%\begin-------------------------------------
INTERITEMTEXT---------------------------------------
\makeatletter
\newcommand{\interitemtext}[1]{%
\begin{list}{}
{\itemindent=0mm\labelsep=0mm
\labelwidth=0mm\leftmargin=0mm
\addtolength{\leftmargin}{-\@totalleftmargin}}
\item #1
\end{list}}
\makeatother
%-----------------------------------------
INTERITEMTEXT---------------------------------------end
Regards
--schremmer
More information about the macostex-archives
mailing list