summaryrefslogtreecommitdiff
path: root/docs/xslt/latex/sambadoc.cls
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-13 12:49:10 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:46 -0500
commit6c39a459e9359c7ca0b5667afecd8a828ee22782 (patch)
treee5e9eadbf22e76bbbd11212e4c9514c68f5e87ec /docs/xslt/latex/sambadoc.cls
parent7639ec02141091657eb2eb0defc46b4b3cf09a73 (diff)
downloadsamba-6c39a459e9359c7ca0b5667afecd8a828ee22782.tar.gz
samba-6c39a459e9359c7ca0b5667afecd8a828ee22782.tar.bz2
samba-6c39a459e9359c7ca0b5667afecd8a828ee22782.zip
More updates. Fix formatting for examples, support long lines in examples.
(This used to be commit a3f887703810b0852e3b63e453323487711e5d40)
Diffstat (limited to 'docs/xslt/latex/sambadoc.cls')
-rw-r--r--docs/xslt/latex/sambadoc.cls12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls
index fcd693e0ca..c9d46df718 100644
--- a/docs/xslt/latex/sambadoc.cls
+++ b/docs/xslt/latex/sambadoc.cls
@@ -515,6 +515,16 @@ footskip=.025in}
morecomment=[l]{\#},
}
-\lstset{backgroundcolor=\color{lightgray},frame=single,}
+\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}
+
+\lstdefinestyle{smbconfblock}
+{
+ breaklines=true,
+ backgroundcolor=\color{lightgray},
+ frame=single,
+ frameround=tttt,
+ prebreak={\space\linebreaksign}
+}
+
\newcommand{\smbconfsection}[1]{\emph{#1}}
\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}