Well I want to do is when LaTeX writes Theorem at the new line instead of the left side of the page it be a little indented. In other words I want it to start from a little bit to the right.

  • I don't understand the question. – IARI Aug 15 '12 at 8:25

Use the ntheorem package.


Now the thm environment will be indented the same amount as a paragraph.


Here's a solution using etoolbox and the addmargin environment of the scrextend package (which is included in KOMA-script):









  • 1
    Please add \documentclass[english]{article} \usepackage{babel} to compile without errors. – Marco Daniel Sep 3 '11 at 12:10
  • 1
    There is also a marginbox environment from the adjustbox package (starting from 2011/08/13), which could also be used here. – Martin Scharrer Sep 4 '11 at 21:28

one possible solution here, maybe not the best. If you are happy with it, you may want to control the indentation with the line


minimal exmaple is:



\section{chapter 1}
\section{section 1}
\begin{Theorem}[Theorem 1]
  • unfortunately, it seems that there is no easy way to remove the automatic indentation of the text coming just after the theorem – pluton Sep 14 '10 at 11:27
  • Do you looking for something like this: \makeatletter \g@addto@macro\@endtheorem{\@afterheading} \makeatother – Marco Daniel Sep 3 '11 at 12:17
  • it looks like the indentation is still there after a theorem with your suggestion? – pluton Sep 4 '11 at 19:50
  • You mean the indention after end{Theorem}. Yes with the code above I get no indention. – Marco Daniel Sep 4 '11 at 20:27
  • I think I will have to try with a minimal example. On the file I tried, it did not change anything. – pluton Sep 4 '11 at 20:46

Your Answer

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

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