doc/doxygen/latex/doxygen.sty
author nico
Tue, 05 Jun 2007 18:43:21 +0200
changeset 210 6b5a4c21e061
parent 207 b6572d0336c3
permissions -rw-r--r--
Manual and Documentation finish
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
\NeedsTeXFormat{LaTeX2e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
\ProvidesPackage{doxygen}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
\RequirePackage{calc}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
\RequirePackage{array}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
\pagestyle{fancyplain}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
\lhead[\fancyplain{}{\bfseries\thepage}]
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
        {\fancyplain{}{\bfseries\rightmark}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
\rhead[\fancyplain{}{\bfseries\leftmark}]
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
        {\fancyplain{}{\bfseries\thepage}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Mon Jun 4 17:09:26 2007 for Can\-Festival by Doxygen }]{}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jun 4 17:09:26 2007 for Can\-Festival by Doxygen }}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
\cfoot{}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
\newenvironment{Code}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
{\footnotesize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
{\normalsize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
\newenvironment{DocInclude}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
{\footnotesize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
{\normalsize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
\newenvironment{VerbInclude}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
{\footnotesize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
{\normalsize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
\newenvironment{Image}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
{\begin{figure}[H]}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
{\end{figure}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
\newenvironment{ImageNoCaption}{}{}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
\newenvironment{CompactList}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
{\begin{list}{}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
  \setlength{\leftmargin}{0.5cm}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
  \setlength{\itemsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
  \setlength{\parsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
  \setlength{\topsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
  \renewcommand{\makelabel}{\hfill}}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
{\end{list}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
\newenvironment{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
  \begin{itemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
  \setlength{\itemsep}{-3pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
  \setlength{\parsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
  \setlength{\topsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
  \setlength{\partopsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
{\end{itemize}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
\newlength{\tmplength}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
\newenvironment{TabularC}[1]
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
\setlength{\tmplength}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
     {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
      \par\begin{tabular*}{\linewidth}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
             {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
{\end{tabular*}\par}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
\newcommand{\entrylabel}[1]{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
   {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
\newenvironment{Desc}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
{\begin{list}{}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
  {
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
    \settowidth{\labelwidth}{40pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
    \setlength{\leftmargin}{\labelwidth}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
    \setlength{\parsep}{0pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
    \setlength{\itemsep}{-4pt}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
    \renewcommand{\makelabel}{\entrylabel}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
  }
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
{\end{list}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
\newenvironment{Indent}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
  {\begin{list}{}{\setlength{\leftmargin}{0.5cm}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
      \item[]\ignorespaces}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
  {\unskip\end{list}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
\setlength{\parindent}{0cm}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
\setlength{\parskip}{0.2cm}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
\addtocounter{secnumdepth}{1}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
\sloppy
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
\usepackage[T1]{fontenc}