File: samba.sty

package info (click to toggle)
samba 2%3A4.9.5%2Bdfsg-5%2Bdeb10u3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 124,560 kB
  • sloc: ansic: 1,450,921; python: 155,221; xml: 48,223; sh: 46,070; perl: 31,596; asm: 3,281; yacc: 2,332; cpp: 2,225; ada: 1,681; exp: 1,582; makefile: 1,366; pascal: 1,082; cs: 879; lex: 605; awk: 118; csh: 58; sed: 45
file content (25 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% 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}}