[OS X TeX] Intertext like command

Alain Schremmer Schremmer.Alain at verizon.net
Mon Jul 12 16:45:52 CEST 2004


Opening my email bckwards as ususl, I opened first Schulz's second and 
then of course tried Bovani's solution. Other than the fact that there 
was a typo, \interitem ­ \interitemtext, but which I found immediately 
I am so proud to say, it works very nicely for me since it's all in the 
preamble where I can peacefully forget about it and the command behaves 
just like intertext.

The flip side of course is that I have no idea of what's going on in 
the preamble. But then there is always the list should I ever need to 
understand! Which is absolutely not about to be any time soon.

I am immensely grateful for all the almost instant help I got from 
you-all.

Best regards
--schremmer


On Jul 12, 2004, at 9:00 AM, Herb Schulz wrote:

> 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.
>
>

-----------------------------------------------------
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