[OS X TeX] Intertext like command

Herb Schulz herbs at wideopenwest.com
Mon Jul 12 15:00:28 CEST 2004


On 7/12/04 1:45 AM, "Michel Bovani" <michel.bovani at wanadoo.fr> wrote:

> 
> Le 12 juil. 2004, à 7h10, Will Robertson a écrit :
> 
>> 
>> On 12 Jul 2004, at 2:20 PM, Alain Schremmer wrote:
>> 
>>> 
>>>  As you typed it, I think Paragraph text Š is part of Item 2 and
>>> lined up as such.
>> 
>> Oh, yeah. Makes sense now, what you want.
>> Besides manually outdenting the line,
> 
> One can use a list environment and  \@totalleftmargin
> 
> \makeatletter
> \newcommand{\interitemtext}[1]{%
> \begin{list}{}
> {\itemindent=0mm\labelsep=0mm
> \labelwidth=0mm\leftmargin=0mm
> \addtolength{\leftmargin}{-\@totalleftmargin}}
> \item #1
> \end{list}}
> \makeatother
> 
> It will work even inside imbricated enumerates...
> 
> \begin{enumerate}
> \item item one
> \item item two
> \begin{enumerate}
> \item item one
> \item item two
> \interitem{The next items are boring but included for completeness...}
> \item item three
> \end{enumerate}
> \item item three
> \end{enumerate}
> 
> 

Howdy,

Ooooh... I like this much better than my silly solution.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list