blob: 0a845fdceda55a67f5a4b1971297c013c27b0ab0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
\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}}
|