\ProvidesPackage{lxextras} \RequirePackage{graphicx} \RequirePackage{color} \RequirePackage{listings} \RequirePackage{verbatim} \newcommand*\cmd[1]{\textbf{\texttt{#1}}} \newenvironment{lxcode}{\small\verbatim}{\endverbatim} \lstset{backgroundcolor=\color[gray]{0.92}, basicstyle=\ttfamily\small}% %% Need to figure out why the environment below doesn't work... %% LaTeX fails at the next utf8 umlaut after the environment :-( \newenvironment{lxcodebox}{\begin{lstlisting}}{\end{lstlisting}}