Debian Codegraph @

doc/bibtool-doc.sty

raw
1 %%*** bibtool-doc.sty *********************************************************
2 %%
3 %% This file is part of BibTool.
4 %% It is distributed under the Creative Commons Attribution-Share
5 %% Alike 3.0 License.
6 %%
7 %% (c) 2011-2020 Gerd Neugebauer
8 %%
9 %% Net: [email protected]
10 %%*****************************************************************************
11 \ProvidesPackage{bibtool-doc}
12
13 \RequirePackage{color}
14 \RequirePackage{makeidx}
15 \RequirePackage{booktabs}
16 \RequirePackage[colorlinks=true,
17 linkcolor=blue,
18 urlcolor=blue,
19 filecolor=blue,
20 citecolor=blue]{hyperref}
21
22 \DeclareRobustCommand\BibTool{\textsc{Bib\hskip-.1em\-%
23 \mbox{T\hskip-.15emo\hskip-.05emo\hskip-.05eml}}}
24 \DeclareRobustCommand\BibTeX{\textrm{B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em\TeX}}
25
26 \renewcommand\maketitle{\thispagestyle{empty}
27 \null\vfill
28 \begin{center}
29 \rule{\textwidth}{5pt}%
30 \bigskip\par
31 \hbox to \textwidth{\cminch \hss B\hss I\hss B\hss T\hss O\hss O\hss L\hss}
32 \medskip\par\normalsize
33 \mbox{}\rfill{5pt}\ A Tool to Manipulate \BibTeX\ Files\ \rfill{5pt}\null
34 \medskip\par\normalsize Version \Version
35 \vfill \textbf{\Huge\@title}\vfill
36 \textit{\LARGE\@author}
37 \end{center}
38 \vfill\vfill
39 }
40
41 \newenvironment{Abstract}{\begin{center}\begin{minipage}{.8\textwidth}\small
42 \begin{center}\textbf{Abstract}\end{center}\par
43 }{\end{minipage}\end{center}\vfill\vfill}
44
45 \newif\ifHTML \HTMLfalse
46
47 \renewcommand\ps@headings{\let\@mkboth\markboth
48 \def\@oddfoot{}\def\@evenfoot{}
49 \def\@evenhead{\vbox{\vss\hbox to \textwidth{\textrm{\thepage} \hss
50 {\scriptsize\textsc{\ \leftmark}}}\kern 1.5mm\hrule depth 0.2 true pt}}
51 \def\@oddhead{\vbox{\vss\hbox to \textwidth{\textrm{\scriptsize\textsc{\rightmark\ }}
52 \hss \thepage}\kern 1.5mm\hrule depth 0.2 true pt}}
53 \def\chaptermark##1{\markboth {\ifnum \c@secnumdepth>\m@ne
54 \thechapter. \ \fi ##1}{}}
55 \def\sectionmark##1{\markright
56 {\ifnum \c@secnumdepth >\z@ \thesection. \ \fi ##1}}}
57
58 \pagestyle{headings}
59 \addtolength{\headheight}{2pt}
60
61 \parskip=1ex plus 1ex
62 \parindent=0pt
63
64 %