Line numbering in algorithm blocks

Is it possible to have line numbering inside algorithm blocks just like one would have with algorithm2e on LaTeX using \LinesNumbered ?

1 Like

Hi @BouazzaSE and welcome to the forum. Does it work for you if you use the macro \numbered inside the algorithm environment?

1 Like

Wow thank you it works! It might perhaps be a good idea to have it included in the Insert menu? (unless it’s already there and I somehow missed it)

As far as I know the “shortest path” to the fulfillment of that wish is a “bug report” in the form of an enhancement request, under https://savannah.gnu.org/bugs/?group=texmacs :slight_smile:
Maybe @mgubi or @darcy or @jeroen could comment on that.

1 Like