Debian Codegraph @

texmf-dist/source/latex/ha-prosper/HA-prosper.def

raw
1 %%
2 %% ------------------------------------------
3 %% Copyright (C) 2003-2005 by Hendri Adriaens
4 %% ------------------------------------------
5 %%
6 %% This file may be distributed and/or modified under the conditions of
7 %% the LaTeX Project Public License, either version 1.2 of this license
8 %% or (at your option) any later version. The latest version of this
9 %% license is in:
10 %%
11 %% http://www.latex-project.org/lppl.txt
12 %%
13 %% and version 1.2 or later is part of all distributions of LaTeX version
14 %% 1999/12/01 or later.
15 %%
16 %% Extra definitions for the HA-prosper documentation.
17 \usepackage{epic}
18 \usepackage{pstricks}
19 \usepackage{multicol}
20 \usepackage{array}
21 \usepackage{url}
22 \usepackage{pst-3d}
23 \usepackage{pst-node}
24 \SpecialCoor
25 \makeatletter
26 \renewenvironment{thebibliography}[1]
27 {\renewcommand{\refname}{Links}\subsection{\refname}\label{sec:links}%
28 This section contains addresses of websites which have been
29 referred to in this documentation.\par
30 \list{\@biblabel{\@arabic\c@enumiv}}%
31 {\settowidth\labelwidth{\@biblabel{#1}}%
32 \leftmargin\labelwidth
33 \@openbib@code
34 \usecounter{enumiv}%
35 \let\p@enumiv\@empty
36 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
37 \sloppy
38 \clubpenalty4000
39 \@clubpenalty \clubpenalty
40 \widowpenalty4000%
41 \sfcode`\.\@m}
42 {\def\@noitemerr
43 {\@latex@warning{Empty `thebibliography' environment}}%
44 \endlist
45 }
46 \def\DescribeSwitch{\leavevmode\@bsphack\begingroup\MakePrivateLetters
47 \Describe@Switch}
48 \def\Describe@Switch#1{\endgroup
49 \marginpar{\raggedleft\PrintDescribeSwitch{#1}}%
50 \SpecialSwitchIndex{#1}\@esphack\ignorespaces}
51 \def\PrintDescribeSwitch#1{\strut \MacroFont #1\ }
52 \def\SpecialSwitchIndex#1{\@bsphack
53 \index{#1\actualchar{\protect\ttfamily#1}
54 (switch)\encapchar usage}%
55 \index{switches:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
56 usage}\@esphack}
57 \def\SpecialEnvIndex#1{\@bsphack
58 \index{#1\actualchar{\protect\ttfamily#1}
59 \encapchar usage}%
60 \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
61 usage}\@esphack}
62 \def\SpecialMainEnvIndex#1{\@bsphack\special@index{%
63 #1\actualchar
64 {\string\ttfamily\space#1}
65 \encapchar main}%
66 \special@index{environments:\levelchar#1\actualchar{%
67 \string\ttfamily\space#1}\encapchar
68 main}\@esphack}
69 \makeatother
70 \def\HAPcmd#1{%
71 \par\addvspace{1.2ex plus 0.8ex minus 0.2ex}%
72 \vskip -\parskip\noindent
73 \begin{tabular}{|l|}\hline\rule{0pt}{1em}%
74 \ignorespaces#1\\\hline\end{tabular}%
75 \par\nopagebreak\addvspace{1.2ex plus 0.8ex minus 0.2ex}%
76 \vskip -\parskip
77 }
78 \def\pf#1{\textsf{#1}}
79 \newcolumntype{d}{l|l}
80 \newcolumntype{e}{l|l||l|l}
81 \newcolumntype{f}{c|c||c|c}
82 \newcolumntype{g}{|p{12em}|*{12}{p{1em}|}}
83 \def\bs{\symbol{'134}}
84 \def\ci#1{\texttt{\bs#1}}
85 \setlength{\parindent}{0cm}
86 \bibliographystyle{plain}
87 \endinput