File: pdf-cover-dblatex.sty

package info (click to toggle)
kicad 5.0.2+dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 234,592 kB
  • sloc: cpp: 505,330; ansic: 57,038; python: 4,886; sh: 879; awk: 294; makefile: 253; xml: 103; perl: 5
file content (28 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (18)
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
26
27
28
%%
%% This style is derived from the docbook one.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{asciidoc-dblatex}[2012/10/24 AsciiDoc DocBook Style]

%% This hack is necessary due to a conflict between the amssymb and Polish babel package.
\let\lll\undefined

%% Just use the original package and pass the options.
\RequirePackageWithOptions{docbook}

% custom cover page
\def\DBKcover{
  \thispagestyle{empty}
  \begin{center}
  \includegraphics[width=1\textwidth]{images/logo.png} \\
  \vspace*{1in}
  \bfseries
  \sffamily
  {\Huge \DBKtitle \\[1ex]\large ~~~ \\}
  \vspace*{2.1in}
  {\color{blue} \Huge ~~~ \\ \huge ~~~ \\}
  \vspace*{2.1in}
  {\Large\DBKdate \\}
  \end{center}
  \vfill
}