Debian Codegraph @

doc/dlgedit/dlgedit.sty

raw
1 %
2 % $Id$
3 %
4 % Copyright (C) 1997-2001 by Dimitri van Heesch.
5 %
6 % Permission to use, copy, modify, and distribute this software and its
7 % documentation under the terms of the GNU General Public License is hereby
8 % granted. No representations are made about the suitability of this software
9 % for any purpose. It is provided "as is" without express or implied warranty.
10 % See the GNU General Public License for more details.
11 %
12 % Documents produced by Doxygen are derivative works derived from the
13 % input used in their production; they are not affected by this license.
14
15 \NeedsTeXFormat{LaTeX2e}
16 \ProvidesPackage{dlgedit}
17 \RequirePackage{calc}
18 \RequirePackage{array}
19 \pagestyle{fancy}
20 \addtolength{\headwidth}{\marginparsep}
21 \addtolength{\headwidth}{\marginparwidth}
22 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}
23 \lhead[\fancyplain{}{\bfseries\thepage}]
24 {\fancyplain{}{\bfseries\rightmark}}
25 \rhead[\fancyplain{}{\bfseries\leftmark}]
26 {\fancyplain{}{\bfseries\thepage}}
27 \lfoot[]{\fancyplain{}{\bfseries\scriptsize Dlgedit v0.8 User Manual}}
28 \rfoot[\fancyplain{}{\bfseries\scriptsize Adonthell Designer's Reference}]{}
29 \cfoot{}
30 \newenvironment{CompactList}
31 {\begin{list}{}{
32 \setlength{\leftmargin}{0.5cm}
33 \setlength{\itemsep}{0pt}
34 \setlength{\parsep}{0pt}
35 \setlength{\topsep}{0pt}
36 \renewcommand{\makelabel}{}}}
37 {\end{list}}
38 \newenvironment{CompactItemize}
39 {
40 \begin{itemize}
41 \setlength{\itemsep}{-4pt}
42 \setlength{\parsep}{0pt}
43 \setlength{\topsep}{0pt}
44 \setlength{\partopsep}{0pt}
45 }
46 {\end{itemize}}
47 \newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}
48 \newlength{\tmplength}
49 \newenvironment{TabularC}[1]
50 {
51 \setlength{\arrayrulewidth}{0.1pt}
52 \setlength{\tmplength}
53 {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}
54 \par\begin{tabular*}{\linewidth}
55 {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}
56 }
57 {\end{tabular*}\par}
58 \newcommand{\entrylabel}[1]{
59 {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\\}}}
60 \newenvironment{Desc}
61 {\begin{list}{}
62 {
63 \settowidth{\labelwidth}{40pt}
64 \setlength{\leftmargin}{\labelwidth}
65 \setlength{\parsep}{0pt}
66 \setlength{\itemsep}{-4pt}
67 \renewcommand{\makelabel}{\entrylabel}
68 }
69 }
70 {\end{list}}
71 \setlength{\parindent}{0cm}
72 \setlength{\parskip}{0.2cm}
73 \sloppy
74