I would like to restate a theorem within a section, like:





As you can see in the image the section number "1" is in its own line and an unwanted "Theorem 1" is printed. Wanted output is:

Theorem 1 Hello!
1 Hello!

Unfortunately I found no way to only get the text of an theorem (without the "Theorem 1"):

So I am searching for a command similar to \hello* which only yields the text of the theorem. In most cases I still need the \hello* to completely restate the theorem, it is only in some situations that I only need the text, without the line break and "Theorem X". So the fix should not break the behavior of \hello*, but only give me an additional way to restate the theorem with text only.

Thank you!

best regards, Markus

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.