Pavel Sanda wrote:
Richard Heck wrote:
how i do it in lyx? o we have some module?

It depends exactly what you need, but you can define counters like this:

i want some inset, which i can put anywhere in the text which output single
number which is incremented + 1 to previous inset. and i do not want to edit
some preamble stuff to do this, just something from the insert menu, as any
normal user would expect.

The code I suggested is layout code that would effectively create the module you wanted. Whether it's exactly what you want, I don't know. Perhaps not, since it's a paragraph-level thingy and not an inline sort of thingy. But, as I said, you'd need to be able to use counters with custom insets to get an inline one, and we don't presently have that, at least as far as LyX display goes. Of course, you can define the LaTeX associated with a custom inset to do whatever you like.

Richard

Reply via email to