my goal is to create simple new environment. The plan is, to have a box with a simple line frame around it. However, the following code does not work, since LaTeX gives me the following error when trying to compile it.
Code: Select all
\newenvironment{exampleo}%
{%
\begin{framebox}
\textbf{\textsf{EXAMPLE\vspace*{2em}}}%
}
{%
\end{framebox}%
}%
Code: Select all
Argument of \textbf has an extra }. \begin{exampleo}

Thanks in advance. Cheers!
Ingo