I always get the same errors with these environments. "missing number treated as zero" and "leading text: \begin{satz}" and "Illegal unit of measure (pt inserted)."
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\newcounter{satz}
\renewcommand{\thesatz}{\arabic{satz}}
\newenvironment{satz}{%
\skip%
\refstepcounter{satz}%
\textbf{Satz~\thesatz}
}
{% \end{satz}
\bigskip
}
\begin{document}
\begin{satz}Test\end{satz}
\par
\begin{satz}Test\end{satz}
\end{document}
Anyone knows corrective actions?
\skipthat expects a skip register number. There is also environmenttheoremand many theorem packages. They might save you some time reinventing the wheel. – Heiko Oberdiek Jan 23 at 16:04\skipis a TeX primitive and expects to be followed by an integer. However, you've followed it with\refstepcounter, which turns into something which is not a number when TeX goes looking for one. Probably you mean\bigskipor similar. – Joseph Wright♦ Jan 23 at 16:06