Add a note about Subtitle Edit to the manual.
[dcpomatic.git] / doc / manual / dcpomatic.sty
1 %%
2 %% This style is derivated from the docbook one
3 %%
4 \NeedsTeXFormat{LaTeX2e}
5 \ProvidesPackage{ardour}[2007/04/04 My DocBook Style]
6
7 %% Just use the original package and pass the options
8 \RequirePackageWithOptions{docbook}
9
10 % Use a nice font
11 \usepackage{lmodern}
12
13 % Define \dbend as the dangerous bend sign
14 \font\manual=manfnt
15 \def\dbend{{\manual\char127}}
16
17 % Redefine sidebar environment to use the dangerous bend style
18 % Danger, Will Robinson!
19 \def\sidebar{\begin{trivlist}\item[]\noindent%
20 \begingroup\hangindent=2pc\hangafter=-2%\clubpenalty=10000%
21 \def\par{\endgraf\endgroup}%
22 \hbox to0pt{\hskip-\hangindent\dbend\hfill}\ignorespaces}
23 \def\endsidebar{\par\end{trivlist}}
24
25
26 % Futz with the title page; basically a copy of
27 % /usr/share/texmf/tex/latex/dblatex/style/dbk_title.sty
28 % with authors added.
29
30 \def\DBKcover{
31 \ifthenelse{\equal{\DBKedition}{}}{\def\edhead{}}{\def\edhead{Ed. \DBKedition}}
32
33 \pagestyle{empty}
34
35 % interligne double
36 \setlength{\oldbaselineskip}{\baselineskip}
37 \setlength{\baselineskip}{2\oldbaselineskip}
38 \textsf{
39 \vfill
40 \vspace{2.5cm}
41 \begin{center}
42   \huge{\textbf{\DBKtitle}}\\ %
43   \ \\ %
44   \ \\ %
45   \Large{\DBKauthor}\\ %
46   \ifx\DBKsubtitle\relax\else%
47     \underline{\ \ \ \ \ \ \ \ \ \ \ }\\ %
48     \ \\ %
49     \huge{\textbf{\DBKsubtitle}}\\ %
50   \fi
51 \end{center}
52 \vfill
53 \setlength{\baselineskip}{\oldbaselineskip}
54 \hspace{1cm}
55 \vspace{1cm}
56 \begin{center}
57 \begin{tabular}{p{7cm} p{7cm}}
58 \Large{\DBKreference{} \edhead} & \\
59 \end{tabular}
60 \end{center}
61 }
62
63 % Format for the other pages
64 \newpage
65 \setlength{\baselineskip}{\oldbaselineskip}
66 %\chead[]{\DBKcheadfront}
67 \lfoot[]{}
68 }