I haven't a clue about LaTeX itself. Can you explain what I need to do with
this code?
And also I want it to take effect only in the algorithm float, not the rest
of the document.

Thanks,
- Amir Rachum


On Fri, Jun 5, 2009 at 6:38 PM, rgheck <rgh...@bobjweil.com> wrote:

> Amir Rachum wrote:
>
>> yes.
>>
>>  Well, the first question then is how to do it in LaTeX, and to do that
> you need to produce some sort of list, I'd guess. Alternatively, you could
> just use the enumeration environment and change the numbering format. This
> will give you the correct LaTeX output, though it won't show properly on the
> screen. Something like this will do the trick:
> \renewcommand\labelenumi{(\arabic{enumi})}
> \renewcommand\labelenumii{(\arabic{enumi}.\arabic{enumii})}
>
> \renewcommand\labelenumiii{(\arabic{enumi}.\arabic{enumii}.\arabic{enumiii})}
> I'll leave yo to do \labelenumiv.
>
> rh
>
>  Thanks,
>> - Amir Rachum
>>
>>
>> On Fri, Jun 5, 2009 at 4:44 PM, rgheck <rgh...@bobjweil.com <mailto:
>> rgh...@bobjweil.com>> wrote:
>>
>>    Amir Rachum wrote:
>>
>>        Hi guys,
>>
>>        I'm trying to write some algorithms in LyX 1.6.1 under XP.
>>        I want to write pseudo code that will number my lines like so:
>>        (1) bla
>>        (2) bla
>>        (2.1) bla
>>        (2.2) bla
>>        (2.3.1) again
>>
>>        etc.
>>        Is there any way to do this? I have no idea how to use
>>        packages and haven't
>>        found an easy way to achieve this. I am willing to try though,
>>        so if you can
>>        post step by step instuctions I would appreciate it.
>>
>>
>>    I'm not sure I understand. Do you want the lines to be
>>    automatically numbered in this way?
>>
>>    rh
>>
>>
>>
>

Reply via email to