this is my first post, so I hope I don't ask something really stupid, but here goes.
I was trying to use the package nTheorem to generate a shaded theorem, and the program returns an error (undefined control sequence). If I try to produce a framed theorem though, it works.
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[slovene]{babel}
\usepackage{color}
\usepackage[framed, thmmarks]{ntheorem}
\usepackage{framed}
\usepackage{pstricks}
{\theoremheaderfont{\bf}
\theoremseparator{:}
\newframedtheorem{THM}{THEOREM}
}
\begin{document}
\begin{THM}[Lovaszova lokalna lema, algoritmična verzija]
lalalalala
\end{THM}
\end{document}