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

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.

share|improve this question
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.

share|improve this answer

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









share|improve this answer
Please add \documentclass[english]{article} \usepackage{babel} to compile without errors. – Marco Daniel Sep 3 '11 at 12:10
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]
share|improve this answer
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 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.