From 6c39a459e9359c7ca0b5667afecd8a828ee22782 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 13 Jun 2005 12:49:10 +0000 Subject: More updates. Fix formatting for examples, support long lines in examples. (This used to be commit a3f887703810b0852e3b63e453323487711e5d40) --- docs/xslt/latex/sambadoc.cls | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/xslt/latex') 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}} -- cgit