--- /dev/null
+% LaTeX class with Samba-specific commands
+% Copyright (C) 2004 Jelmer Vernooij <jelmer@samba.org>
+% Released under the GNU GPL v3 or later
+
+\newcommand{\smbconfsection}[1]{\emph{#1}}
+\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}
+% smb.conf syntax highlighting
+\RequirePackage{listings}
+\RequirePackage{xcolor}
+
+\lstdefinelanguage{smbconf}{
+ morecomment=[l]{\#},
+}
+
+\lstdefinestyle{smbconfblock}
+{
+ breaklines=true,
+ backgroundcolor=\color[gray]{0.93},
+ frame=single,
+ frameround=tttt,
+ prebreak={\space\linebreaksign},
+ basicstyle=\small
+}
+
+
\renewcommand\listfigurename{\uppercase{List Of Figures}}
\renewcommand\listtablename{\uppercase{List Of Tables}}
-% smb.conf syntax highlighting
-\RequirePackage{listings}
-\RequirePackage{xcolor}
-
-\lstdefinelanguage{smbconf}{
- morecomment=[l]{\#},
-}
-
\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}
-\lstdefinestyle{smbconfblock}
-{
- breaklines=true,
- backgroundcolor=\color[gray]{0.93},
- frame=single,
- frameround=tttt,
- prebreak={\space\linebreaksign},
- basicstyle=\small
-}
-
-\newcommand{\smbconfsection}[1]{\emph{#1}}
-\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}
-
\setlength{\emergencystretch}{0cm}
\renewcommand{\textfraction}{0.1}
\renewcommand{\topfraction}{1.0}
\renewcommand{\bottomfraction}{1.0}
+
+\RequirePackage{samba}