TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have write definitions in this way (this is a MWE class unatesi is available here):



    \begin{defin}[Definition's name]
        Lorem ipsum dolorem


So when list is printed, it shows something like that:

1 Definition (Definition's name)............................ 1

But I want something like

1 Definition's name............................................. 1

There's a way to do this?

share|improve this question
Please provide a minimal working example that reveals your document class plus the packages relevant for typesetting the theorems. – lockstep Apr 22 '12 at 15:20
MWE is present now. – Mariano Apr 22 '12 at 15:46
up vote 11 down vote accepted

You have to redefine the macro responsible for writing the relevant data in the loe file:

  \protect\numberline{\csname the\thmt@envname\endcsname}%

Of course it's better to use the interface of thmtools for defining new theorem-like environments, in order to decide which ones go to the list of theorems, for instance.

share|improve this answer
Ah, you beat me to it :) – Ulrich Schwarz Apr 22 '12 at 16:01
@UlrichSchwarz Yes, egreg can even beat the respective package author. ;-) – lockstep Apr 22 '12 at 16:03
@UlrichSchwarz Oh, sorry. :) – egreg Apr 22 '12 at 16:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.