summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hsw.sty19
1 files 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}