forked from machinekit/machinekit-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemc2.sty
25 lines (21 loc) · 737 Bytes
/
emc2.sty
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
%%
%% Fixed EMC2 Documentation style
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{emc2doc}[2011/02/10 EMC2 Style]
%% XXX: Here starts verbatim copy of asciidoc-docbook.sty
%% Just use the original package and pass the options.
\RequirePackageWithOptions{docbook}
% 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}
%% XXX: Here ends verbatim copy of asciidoc-docbook.sty
\usepackage{grffile}