From 586aa02198ff9231ab033afd573e77de9bc3701d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 13:08:43 +0100 Subject: hsw.sty: Copy contents from asciidoc-dblatex.sty --- hsw.sty | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/hsw.sty b/hsw.sty index fa1ea4d..6f2f9eb 100644 --- a/hsw.sty +++ b/hsw.sty @@ -1,7 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hsw}[2013/01/14 HSW Style] -% absolute path here; alternatively just copy the contents of it -\RequirePackageWithOptions{/usr/share/asciidoc/dblatex/asciidoc-dblatex} +\RequirePackageWithOptions{docbook} \usepackage[doublespacing]{setspace} \setlength{\textwidth}{17cm} @@ -69,3 +68,19 @@ \chead[]{\DBKcheadfront} \lfoot[]{} } + + +%%% Following is a copy of asciidoc-dblatex.sty %%% + +% Sidebar is a boxed minipage that can contain verbatim. +% Changed shadow box to double box. +\renewenvironment{sidebar}[1][0.95\textwidth]{ + \hspace{0mm}\newline% + \noindent\begin{Sbox}\begin{minipage}{#1}% + \setlength\parskip{\medskipamount}% +}{ + \end{minipage}\end{Sbox}\doublebox{\TheSbox}% +} + +% For DocBook literallayout elements, see `./dblatex/dblatex-readme.txt`. +\usepackage{alltt} -- cgit