1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/docs-xml/xslt/latex/samba.sty
2009-05-01 22:49:08 +02:00

26 lines
610 B
TeX

% 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
}
\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}