I have defined
\theoremheaderfont{\normalfont\bfseries}
\theoremprework{\bigskip\hrule}
\theorempostwork{\hrule\bigskip}
\theorembodyfont{\slshape}
\newtheorem{definition}[satz]{Definition}
and now i am able to write something like
\begin{definition}fooBar\end{definition}
but i am getting a weird behavior with the prework of the theorem! LaTeX sets the top \hrule on one page and the rest of the definition on another page! See here what i mean. Althoug it is german you can see that the top hrule of definition 1.2.7 is on page 6 while the rest can be found on top of page 7 (pages have a header line in my layout!). Any idea how to move this hrule to the same page as the definition without using \newpage to have still a dynamic document?
definitionand withrenewenvironmentthe layout is screwed. Furthermore i have problems with the counter which in fact does not exist! Seems like i have to use\clearpageor\newpage... – Christian Ivicevic Aug 04 '11 at 13:55