Code: Select all
Code, edit and compile here:
\RequirePackage{colortbl, tabularx}\@ifundefined{comment}{}% do nothing if the comment environment is not defined{% redefine the comment environment if it is defined\renewenvironment{comment}{% replaces \begin{comment}\par\medskip\noindent\tabularx{\textwidth}{|>{\columncolor[gray]{0.9}}X|}\hline\emph{\textbf{Kommentar:}}% You can use any other text instead of "Comment:" or leave it}{replaces \end{comment}\endtabularx\hrule\par\medskip}}%%
Thanks in advance!
