Search found 1 match

by A-M4D53N
Sat Jan 13, 2024 11:25 am
Forum: Text Formatting
Topic: Why won't this run, (new command -> tcolorbox+theorem)
Replies: 1
Views: 5310

Why won't this run, (new command -> tcolorbox+theorem)

\usepackage{tcolorbox}
\usepackage{amsthm,amsmath,amssymb,mathtools}
\newtheorem{theorem}{Theorem}

.
.
.


\newcommand{\nwtherm}[#1]{
\begin{tcolorbox}[colback=yellow!05!white,colframe=yellow!10!black,width=\linewidth,before skip=1mm]
\begin{theorem}
#1
\end{theorem}
\end{tcolorbox ...